From 15c03a6a4a13fa99ee0c965d0668e2924c70db5b Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Thu, 11 Sep 2014 14:13:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=B9=E9=85=8D=E6=8B=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/editor.js | 1 + view/index.html | 1 + 2 files changed, 2 insertions(+) diff --git a/static/js/editor.js b/static/js/editor.js index 7798d20..eae3ec8 100644 --- a/static/js/editor.js +++ b/static/js/editor.js @@ -149,6 +149,7 @@ var editors = { var editor = CodeMirror.fromTextArea(document.getElementById("editor" + id), { lineNumbers: true, autoCloseBrackets: true, + matchBrackets: true, highlightSelectionMatches: {showToken: /\w/}, rulers: rulers, styleActiveLine: true, diff --git a/view/index.html b/view/index.html index dfcdefc..9f6e5af 100644 --- a/view/index.html +++ b/view/index.html @@ -167,6 +167,7 @@ +