Don't highlight project search matches either
This commit is contained in:
parent
39f02c2b72
commit
fac0e2dd56
2 changed files with 7 additions and 2 deletions
|
@ -1537,7 +1537,7 @@ impl Editor {
|
|||
self.collapse_matches = collapse_matches;
|
||||
}
|
||||
|
||||
fn range_for_match<T: std::marker::Copy>(&self, range: &Range<T>) -> Range<T> {
|
||||
pub fn range_for_match<T: std::marker::Copy>(&self, range: &Range<T>) -> Range<T> {
|
||||
if self.collapse_matches {
|
||||
return range.start..range.start;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue