adds description to kb & settings menu methods

This commit is contained in:
Matthew Kastor 2013-04-01 15:38:43 -04:00 • committed by nightwing
commit 1518a460ae

View file

@ -120,6 +120,7 @@ var Editor = function(renderer, session) {
} }
}; };
/** /**
* Returns the keyboard handler, such as "vim" or "windows". * Returns the keyboard handler, such as "vim" or "windows".
* *
@ -170,6 +171,7 @@ var Editor = function(renderer, session) {
selection.removeEventListener("changeSelection", this.$onSelectionChange); selection.removeEventListener("changeSelection", this.$onSelectionChange);
} }
this.session = session; this.session = session;
this.$onDocumentChange = this.onDocumentChange.bind(this); this.$onDocumentChange = this.onDocumentChange.bind(this);
@ -2190,10 +2192,17 @@ var Editor = function(renderer, session) {
}; };
}; };
/**
* Displays a menu for changing settings.
*/
this.showSettingsMenu = function () { this.showSettingsMenu = function () {
showSettingsMenu(this); showSettingsMenu(this);
}; };
/**
* Displays a menu showing all keyboard shortcuts applicable to the current
* platform.
*/
this.showKeyboardShortcuts = function () { this.showKeyboardShortcuts = function () {
showKeyboardShortcuts(this); showKeyboardShortcuts(this);
}; };