Lines Matching refs:to

10  * Unless required by applicable law or agreed to in writing, software
73 * Set the selection anchor to <code>start</code> and the selection edge
74 * to <code>stop</code>.
81 * Set the selection anchor to <code>start</code>, the selection edge
82 * to <code>stop</code> and the memory horizontal to <code>memory</code>.
101 * Update the memory position for text. This is used to ensure vertical navigation of lines
149 * Move the cursor to offset <code>index</code>.
163 * Move the selection edge to offset <code>index</code>.
170 * Move the selection edge to offset <code>index</code> and update the memory horizontal.
193 * Move the cursor to the buffer offset physically above the current
194 * offset, to the beginning if it is on the top line but not at the
263 * Move the cursor to the buffer offset physically below the current
264 * offset, to the end of the buffer if it is on the bottom line but
300 * Move the cursor to the buffer offset physically to the left of
302 * at the left edge of the line and there is not another line to move it to.
312 int to = layout.getOffsetToLeftOf(end);
314 if (to != end) {
315 setSelection(text, to);
324 * Move the cursor to the buffer offset physically to the right of
327 * to move it to.
337 int to = layout.getOffsetToRightOf(end);
339 if (to != end) {
340 setSelection(text, to);
349 * Move the selection end to the buffer offset physically above
368 * Move the selection end to the buffer offset physically below
387 * Move the selection end to the buffer offset physically to the left of
392 int to = layout.getOffsetToLeftOf(end);
394 if (to != end) {
395 extendSelection(text, to);
403 * Move the selection end to the buffer offset physically to the right of
408 int to = layout.getOffsetToRightOf(end);
410 if (to != end) {
411 extendSelection(text, to);
507 // to left
514 // to right
526 // right thing to do is if the ends don't agree. Even if it