mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ioob
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ public class IdentifierSplitter extends BaseSplitter {
|
||||
@Nullable
|
||||
public List<CheckArea> split(@Nullable String text, @NotNull TextRange range) {
|
||||
|
||||
if (text == null || range.getLength() < 1) {
|
||||
if (text == null || range.getLength() < 1 || range.getStartOffset() < 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user