Searched refs:caret (Results 1 – 1 of 1) sorted by relevance
1638 private int getOffsetToLeftRightOf(int caret, boolean toLeft) { in getOffsetToLeftRightOf() argument1639 int line = getLineForOffset(caret); in getOffsetToLeftRightOf()1648 if (caret == lineEnd) { in getOffsetToLeftRightOf()1653 return caret; // at very end, don't move in getOffsetToLeftRightOf()1657 if (caret == lineStart) { in getOffsetToLeftRightOf()1662 return caret; // at very start, don't move in getOffsetToLeftRightOf()1685 caret = lineStart + tl.getOffsetToLeftRightOf(caret - lineStart, toLeft); in getOffsetToLeftRightOf()1687 return caret; in getOffsetToLeftRightOf()