Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
activeEditor._handleTabKey();
}
return df.resolve();
}
}
if (action == 'insert_formatted_line_break') {
var activeEditor = editor.editor;
var allowAction = !activeEditor.hasSelection() && ~lineBreakSyntaxes.indexOf(editor.getSyntax());
if (!allowAction) {
// handle Enter key for limited syntaxes only
return df.reject();
}
}
return emmet.run(action, editor);
}