Browse Source

Do not hightlight the whole document when debugging.

cl-refactor
yann300 10 years ago
parent
commit
8bce052537
  1. 2
      mix/qml/html/codeeditor.js

2
mix/qml/html/codeeditor.js

@ -132,6 +132,8 @@ var executionMark;
highlightExecution = function(start, end) {
if (executionMark)
executionMark.clear();
if (start === 0 && end + 1 === editor.getValue().length)
return; // Do not hightlight the whole document.
executionMark = editor.markText(editor.posFromIndex(start), editor.posFromIndex(end), { className: "CodeMirror-exechighlight" });
}

Loading…
Cancel
Save