Searched refs:lineStarts (Results 1 – 1 of 1) sorted by relevance
66 private transient int[] lineStarts = new int[MAX_LINES]; // LIU field in DumbTextComponent303 int posInLine = off - lineStarts[line]; in lineDelta()311 off = lineStarts[line] + posInLine; in lineDelta()312 if (off >= lineStarts[line+1]) { in lineDelta()313 off = lineStarts[line+1] - 1; in lineDelta()539 int lim = lineStarts[i+1]; in paint2()542 lastSubstring = contents.substring(lineStarts[i],lim); in paint2()605 contents.substring(lineStarts[line], off)); in offset2Point()622 if (off < lineStarts[i]) return i-1; in findLine()625 if (off == lineStarts[lineCount] && in findLine()[all …]