mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ctrl+w shouldn't choke on unclosed argument lists (EA-51589)
This commit is contained in:
+3
-1
@@ -50,7 +50,9 @@ public class ListSelectioner extends BasicSelectioner {
|
||||
}
|
||||
|
||||
List<TextRange> result = new ArrayList<TextRange>();
|
||||
result.add(new TextRange(start, end));
|
||||
if (start != 0 && end != 0) {
|
||||
result.add(new TextRange(start, end));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user