1.5 Support find next loop when not comment | 支持没有注释时循环查找下一个对象
This commit is contained in:
@@ -50,7 +50,8 @@ public class LineEnd extends EditorLinePainter {
|
||||
if (document == null) {
|
||||
return null;
|
||||
}
|
||||
if (document.getLineCount() < lineNumber) {
|
||||
// lineNumber start 0, as 1 <= 1 should return
|
||||
if (document.getLineCount() <= lineNumber) {
|
||||
return null;
|
||||
}
|
||||
int startOffset = document.getLineStartOffset(lineNumber);
|
||||
|
||||
Reference in New Issue
Block a user