mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
short diff: highlight syntax -> each fragment also separated by \n -> take it into account when stealing highlighters
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ public class FragmentedEditorHighlighter implements EditorHighlighter {
|
||||
iterator.advance();
|
||||
if (iterator.atEnd()) return;
|
||||
}
|
||||
offset += range.getLength();
|
||||
offset += range.getLength() + 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user