Skip to content

Commit b90f311

Browse files
committed
allow tab focus control issue #197
1 parent 9928e8f commit b90f311

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

assets/scripts/runlatex.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ function llexamples() {
175175
editor.setOption("minLines",runlatex);
176176
editor.setOption("maxLines",runlatex.editorlines);
177177
editor.setShowPrintMargin(false);
178+
// allow browser to handle tab use ctrl-] to tab indent in browser
179+
editor.commands.bindKey("Tab", null)
180+
editor.commands.bindKey("Shift-Tab", null)
178181
if(runlatex.completionsURI != ""){
179182
langTools=ace.require("ace/ext/language_tools");
180183
langTools.setCompleters([customCompleter]);

0 commit comments

Comments
 (0)