mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-118443 UI hang on console hyperlink calculation
This commit is contained in:
@@ -337,7 +337,8 @@ public class EditorHyperlinkSupport {
|
||||
break;
|
||||
}
|
||||
}
|
||||
int newIndex = i > 0 ? i % ranges.size() : 0;
|
||||
i = i % ranges.size();
|
||||
int newIndex = i;
|
||||
while (newIndex < ranges.size() && newIndex >= 0) {
|
||||
newIndex = (newIndex + delta + ranges.size()) % ranges.size();
|
||||
final RangeHighlighter next = ranges.get(newIndex);
|
||||
|
||||
Reference in New Issue
Block a user