No need to focus ace, add more expansions.
This commit is contained in:
parent
5ea65fe246
commit
1d7c9220ee
1 changed files with 9 additions and 1 deletions
|
|
@ -304,6 +304,14 @@ var rules = {
|
|||
{
|
||||
substr: '>',
|
||||
newSubstr: ' tag end '
|
||||
},
|
||||
{
|
||||
substr: '</',
|
||||
newSubstr: ' closing tag '
|
||||
},
|
||||
{
|
||||
substr: '/>',
|
||||
newSubstr: ' close tag '
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -876,7 +884,7 @@ var init = function(editor) {
|
|||
cvoxAce.editor.getSession().on('changeAnnotation', onAnnotationChange);
|
||||
cvoxAce.editor.on('changeStatus', onChangeStatus);
|
||||
cvoxAce.editor.on('findSearchBox', onFindSearchbox);
|
||||
window.addEventListener('keydown', onKeyDown);
|
||||
editor.container.addEventListener('keydown', onKeyDown);
|
||||
|
||||
/* Assume we start in command mode if vim. */
|
||||
if (isVimMode()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue