lazy highlighter for selected word
This commit is contained in:
parent
b1bb0b9ccc
commit
9d0f2e41e8
6 changed files with 105 additions and 108 deletions
|
|
@ -76,6 +76,11 @@ var Marker = function(parentEl) {
|
|||
for ( var key in this.markers) {
|
||||
var marker = this.markers[key];
|
||||
|
||||
if (!marker.range) {
|
||||
marker.update(html, this, this.session, config);
|
||||
continue;
|
||||
}
|
||||
|
||||
var range = marker.range.clipRows(config.firstRow, config.lastRow);
|
||||
if (range.isEmpty()) continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue