This commit is contained in:
Jonathan Millman 2017-05-02 17:49:27 +02:00 committed by GitHub
parent 56d321ccf0
commit c27e986bc2

View File

@ -490,7 +490,7 @@ class HighlightedText implements IndexedText {
// Advance the search offset past the keyword.
searchOffset = hitOffset + escapedKeyword.length();
//record the location of the hir, possibly merging it with other hits
//record the location of the hit, possibly merging it with other hits
highlights.add(Range.closedOpen(hitOffset, searchOffset));
//look for next hit