Lines Matching refs:Caret
135 _SetSelection(selection.Caret(), selection.Anchor(), true, true); in SetSelection()
173 std::min(fSelection.Caret(), fSelection.Anchor()), in KeyDown()
176 _SetCaretOffset(fSelection.Caret() - 1, true, select, true); in KeyDown()
182 std::max(fSelection.Caret(), fSelection.Anchor()), in KeyDown()
185 _SetCaretOffset(fSelection.Caret() + 1, true, select, true); in KeyDown()
197 Insert(fSelection.Caret(), "\n"); in KeyDown()
202 Insert(fSelection.Caret(), " "); in KeyDown()
212 if (fSelection.Caret() > 0) in KeyDown()
213 Remove(fSelection.Caret() - 1, 1); in KeyDown()
221 if (fSelection.Caret() < fDocument->Length()) in KeyDown()
222 Remove(fSelection.Caret(), 1); in KeyDown()
307 int32 lineIndex = fLayout->LineIndexForOffset(fSelection.Caret()); in LineUp()
318 int32 lineIndex = fLayout->LineIndexForOffset(fSelection.Caret()); in LineDown()
329 int32 lineIndex = fLayout->LineIndexForOffset(fSelection.Caret()); in LineStart()
341 int32 lineIndex = fLayout->LineIndexForOffset(fSelection.Caret()); in LineEnd()
360 return std::min(fSelection.Caret(), fSelection.Anchor()); in SelectionStart()
367 return std::max(fSelection.Caret(), fSelection.Anchor()); in SelectionEnd()
443 if (caret == fSelection.Caret() && anchor == fSelection.Anchor()) in _SetSelection()
470 int32 offset = fSelection.Caret() - 1; in _UpdateStyleAtCaret()