mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-58070 Soft wrap: Improve soft wraps performance
Corrected algorithm that calculates correct soft wraps cache entry by offset
This commit is contained in:
-3
@@ -65,9 +65,6 @@ public class MappingUtil {
|
||||
continue;
|
||||
}
|
||||
if (cacheEntry.startOffset > offset) {
|
||||
if (start == end) {
|
||||
return start - 1;
|
||||
}
|
||||
end = i - 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user