mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-129326 IOOBE is thrown on attempt to expand Find Usage results
This commit is contained in:
@@ -203,7 +203,7 @@ public class ChunkExtractor {
|
||||
if (myDocumentStamp != myDocument.getModificationStamp()) {
|
||||
highlighter.restart(chars);
|
||||
myDocumentStamp = myDocument.getModificationStamp();
|
||||
} else if(lexer.getTokenStart() > start) {
|
||||
} else if(lexer.getTokenType() == null || lexer.getTokenStart() > start) {
|
||||
highlighter.resetPosition(0); // todo restart from nearest position with initial state
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user