[occur] highlighting occur doc
This commit is contained in:
parent
2ba388ed04
commit
7f1e926f3c
1 changed files with 3 additions and 0 deletions
|
|
@ -68,6 +68,9 @@ oop.inherits(Occur, Search);
|
||||||
occurDoc = new Document(lines);
|
occurDoc = new Document(lines);
|
||||||
occurDoc.$occur = this;
|
occurDoc.$occur = this;
|
||||||
session.setDocument(occurDoc);
|
session.setDocument(occurDoc);
|
||||||
|
session.highlight(null);
|
||||||
|
session.highlight(options.re);
|
||||||
|
session._emit('changeBackMarker');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.displayOriginal = function(session) {
|
this.displayOriginal = function(session) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue