adds description to kb & settings menu methods
This commit is contained in:
parent
f6d1c1167c
commit
1518a460ae
1 changed files with 9 additions and 0 deletions
|
|
@ -120,6 +120,7 @@ var Editor = function(renderer, session) {
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns the keyboard handler, such as "vim" or "windows".
|
||||
*
|
||||
|
|
@ -170,6 +171,7 @@ var Editor = function(renderer, session) {
|
|||
selection.removeEventListener("changeSelection", this.$onSelectionChange);
|
||||
}
|
||||
|
||||
|
||||
this.session = session;
|
||||
|
||||
this.$onDocumentChange = this.onDocumentChange.bind(this);
|
||||
|
|
@ -2190,10 +2192,17 @@ var Editor = function(renderer, session) {
|
|||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* Displays a menu for changing settings.
|
||||
*/
|
||||
this.showSettingsMenu = function () {
|
||||
showSettingsMenu(this);
|
||||
};
|
||||
|
||||
/**
|
||||
* Displays a menu showing all keyboard shortcuts applicable to the current
|
||||
* platform.
|
||||
*/
|
||||
this.showKeyboardShortcuts = function () {
|
||||
showKeyboardShortcuts(this);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue