Check for possible snippet expansion before attempting to proceed to the next tabstop.
This commit is contained in:
parent
c2b097b825
commit
2b10c2071f
1 changed files with 4 additions and 0 deletions
|
|
@ -809,6 +809,10 @@ var TabstopManager = function(editor) {
|
|||
this.keyboardHandler = new HashHandler();
|
||||
this.keyboardHandler.bindKeys({
|
||||
"Tab": function(ed) {
|
||||
if (exports.snippetManager && exports.snippetManager.expandWithTab(ed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
ed.tabstopManager.tabNext(1);
|
||||
},
|
||||
"Shift-Tab": function(ed) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue