mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-13 04:42:12 +03:00
Fixed multi-line search in TextDocument::find.
This commit is contained in:
@@ -1622,6 +1622,8 @@ TextRange TextDocument::find( String text, TextPosition from, const bool& caseSe
|
||||
if ( foundRange.end().column() == (Int64)mLines[foundRange.end().line()].size() )
|
||||
foundRange.setEnd( positionOffset( foundRange.end(), 1 ) );
|
||||
return foundRange;
|
||||
} else {
|
||||
return find( text, range.end(), caseSensitive, wholeWord, type, restrictRange );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user