Sha256: 3fba64a01821cbc774a5e2371400db4ad2e65a564f41e96956b227a803bc6921

Contents?: true

Size: 657 Bytes

Versions: 23

Compression:

Stored size: 657 Bytes

Contents

!function(){function e(){this.marked=[]}function t(t){return t._matchHighlightState||(t._matchHighlightState=new e)}function n(e){for(var n=t(e),r=0;r<n.marked.length;++r)n.marked[r].clear();n.marked=[]}function r(e,r,o){if(n(e),o="undefined"!=typeof o?o:i,e.somethingSelected()&&e.getSelection().replace(/^\s+|\s+$/g,"").length>=o){var a=t(e),c=e.getSelection();e.operation(function(){if(e.lineCount()<2e3)for(var t=e.getSearchCursor(c);t.findNext();)(t.from().line!==e.getCursor(!0).line||t.from().ch!==e.getCursor(!0).ch)&&a.marked.push(e.markText(t.from(),t.to(),r))})}}var i=2;CodeMirror.defineExtension("matchHighlight",function(e,t){r(this,e,t)})}();

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
rearview-1.2.3-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.2.2.rc.2-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.2.2.rc.1-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.2.1-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.2.0-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.1.2-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.1.1-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.1.0-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.0.3.rc.4-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.0.3.rc.3-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.0.3.rc.2-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.0.3.rc.1-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.0.2-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.0.2.rc.4-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.0.2.rc.3-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.0.2.rc.2-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.0.2.rc.1-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.0.1-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.0.0-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js
rearview-1.0.0.rc5-jruby public/rearview/vendor/codemirror/lib/util/match-highlighter.js