Searched refs:caret (Results 1 – 1 of 1) sorted by relevance
2838 private int getOffsetToLeftRightOf(int caret, boolean toLeft) { in getOffsetToLeftRightOf() argument2839 int line = getLineForOffset(caret); in getOffsetToLeftRightOf()2848 if (caret == lineEnd) { in getOffsetToLeftRightOf()2853 return caret; // at very end, don't move in getOffsetToLeftRightOf()2857 if (caret == lineStart) { in getOffsetToLeftRightOf()2862 return caret; // at very start, don't move in getOffsetToLeftRightOf()2887 caret = lineStart + tl.getOffsetToLeftRightOf(caret - lineStart, toLeft); in getOffsetToLeftRightOf()2889 return caret; in getOffsetToLeftRightOf()