Tweaked ACE for performance

This commit is contained in:
benweet 2014-03-04 00:30:55 +01:00
parent d7d7266593
commit 5ef7d22450

View File

@ -250,6 +250,14 @@ define([
aceEditor.session.setNewLineMode("unix"); aceEditor.session.setNewLineMode("unix");
aceEditor.session.setMode("libs/ace_mode"); aceEditor.session.setMode("libs/ace_mode");
aceEditor.session.$selectLongWords = true; aceEditor.session.$selectLongWords = true;
aceEditor.setHighlightActiveLine(true);
aceEditor.setHighlightGutterLine(false);
aceEditor.setHighlightSelectedWord(false);
aceEditor.setDisplayIndentGuides(false);
aceEditor.setShowFoldWidgets(false);
aceEditor.setWrapBehavioursEnabled(false);
// Hack to disable bracket highlighting
aceEditor.$highlightBrackets = function() {};
// Make bold titles... // Make bold titles...
(function(self) { (function(self) {