diff options
author | Wu Cheng-Han | 2016-01-17 14:28:04 -0600 |
---|---|---|
committer | Wu Cheng-Han | 2016-01-17 14:28:04 -0600 |
commit | eaa8ccaccb1091820d0a8d1223996a6dd057347d (patch) | |
tree | 6b4aaa3b3d1a2fed68147510142663222533775a /public/vendor/codemirror/mode/go | |
parent | ce65e58096d57ace02723d11a125673f9d48c293 (diff) |
Upgrade CodeMirror to 5.10.1 and now support fullscreen, jump-to-line in editor
Diffstat (limited to 'public/vendor/codemirror/mode/go')
-rw-r--r--[-rwxr-xr-x] | public/vendor/codemirror/mode/go/go.js | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | public/vendor/codemirror/mode/go/index.html | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/public/vendor/codemirror/mode/go/go.js b/public/vendor/codemirror/mode/go/go.js index b121f4e6..21fe9a2d 100755..100644 --- a/public/vendor/codemirror/mode/go/go.js +++ b/public/vendor/codemirror/mode/go/go.js @@ -86,7 +86,7 @@ CodeMirror.defineMode("go", function(config) { var escaped = false, next, end = false; while ((next = stream.next()) != null) { if (next == quote && !escaped) {end = true; break;} - escaped = !escaped && next == "\\"; + escaped = !escaped && quote != "`" && next == "\\"; } if (end || !(escaped || quote == "`")) state.tokenize = tokenBase; diff --git a/public/vendor/codemirror/mode/go/index.html b/public/vendor/codemirror/mode/go/index.html index 72e3b364..72e3b364 100755..100644 --- a/public/vendor/codemirror/mode/go/index.html +++ b/public/vendor/codemirror/mode/go/index.html |