From eaa8ccaccb1091820d0a8d1223996a6dd057347d Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Sun, 17 Jan 2016 14:28:04 -0600 Subject: Upgrade CodeMirror to 5.10.1 and now support fullscreen, jump-to-line in editor --- public/vendor/codemirror/mode/go/go.js | 2 +- public/vendor/codemirror/mode/go/index.html | 0 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 public/vendor/codemirror/mode/go/go.js mode change 100755 => 100644 public/vendor/codemirror/mode/go/index.html (limited to 'public/vendor/codemirror/mode/go') diff --git a/public/vendor/codemirror/mode/go/go.js b/public/vendor/codemirror/mode/go/go.js old mode 100755 new mode 100644 index b121f4e6..21fe9a2d --- 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 old mode 100755 new mode 100644 -- cgit v1.2.3