mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
WI-6515 Application not responding
Using the check condition that is guaranteed to avoid endless loop
This commit is contained in:
@@ -357,7 +357,7 @@ public class IndentsPass extends TextEditorHighlightingPass implements DumbAware
|
||||
}
|
||||
else {
|
||||
int startLine = line;
|
||||
while (line < lineIndents.length && lineIndents[line] == -1) {
|
||||
while (line < lineIndents.length && lineIndents[line] < 0) {
|
||||
//noinspection AssignmentToForLoopParameter
|
||||
line++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user