added codemirror plugin for easier editing - matchtags, match brackets and highlight matches

This commit is contained in:
azivner
2018-01-28 11:19:31 -05:00
parent e8f8341ef9
commit 4ab763e295
7 changed files with 563 additions and 1 deletions

View File

@@ -261,6 +261,9 @@ const noteEditor = (function() {
value: "",
viewportMargin: Infinity,
indentUnit: 4,
matchBrackets: true,
matchTags: { bothTags: true },
highlightSelectionMatches: { showToken: /\w/, annotateScrollbar: false }
});
codeEditor.on('change', noteChanged);