diff options
author | Wu Cheng-Han | 2015-09-24 13:57:10 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2015-09-24 13:57:10 +0800 |
commit | 6e40df288786f03b634ceae0d03c3b5b3ad43660 (patch) | |
tree | 31f8af6b96818b8e6ceadf53e1f8d1b59afafc96 /public/vendor/codemirror/lib | |
parent | 33cdec2fd4c124e181356be81a756aa6824c4ec2 (diff) |
Updated codemirror to support panel and match-highlighter and revert some unnecessary changes
Diffstat (limited to 'public/vendor/codemirror/lib')
-rwxr-xr-x | public/vendor/codemirror/lib/codemirror.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/vendor/codemirror/lib/codemirror.js b/public/vendor/codemirror/lib/codemirror.js index 7ba4ffe4..92cacf0f 100755 --- a/public/vendor/codemirror/lib/codemirror.js +++ b/public/vendor/codemirror/lib/codemirror.js @@ -388,7 +388,7 @@ viewWidth: d.wrapper.clientWidth, barLeft: cm.options.fixedGutter ? gutterW : 0, docHeight: docH, - scrollHeight: docH + scrollGap(cm) + d.barHeight + textHeight(cm.display), + scrollHeight: docH + scrollGap(cm) + d.barHeight, nativeBarWidth: d.nativeBarWidth, gutterWidth: gutterW }; |