diff options
author | Wu Cheng-Han | 2016-07-30 12:25:24 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-07-30 12:25:24 +0800 |
commit | 1490eafdd26a576dcc3832d1811802c0162dfe84 (patch) | |
tree | abf105de4a0ec1659672643b7583330a421e79bb /public/vendor/codemirror/addon/fold/foldgutter.js | |
parent | b6ca8649af10d969d86f0e8ff31723321d43087a (diff) |
Update CodeMirror to version 5.17.1
Diffstat (limited to 'public/vendor/codemirror/addon/fold/foldgutter.js')
-rw-r--r-- | public/vendor/codemirror/addon/fold/foldgutter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/vendor/codemirror/addon/fold/foldgutter.js b/public/vendor/codemirror/addon/fold/foldgutter.js index f101e267..9d323265 100644 --- a/public/vendor/codemirror/addon/fold/foldgutter.js +++ b/public/vendor/codemirror/addon/fold/foldgutter.js @@ -50,7 +50,7 @@ } function isFolded(cm, line) { - var marks = cm.findMarksAt(Pos(line)); + var marks = cm.findMarks(Pos(line, 0), Pos(line + 1, 0)); for (var i = 0; i < marks.length; ++i) if (marks[i].__isFold && marks[i].find().from.line == line) return marks[i]; } |