Lines Matching refs:fSelection
16 fSelection(),
28 fSelection(other.fSelection),
49 fSelection = other.fSelection;
65 && fSelection == other.fSelection
173 std::min(fSelection.Caret(), fSelection.Anchor()),
176 _SetCaretOffset(fSelection.Caret() - 1, true, select, true);
182 std::max(fSelection.Caret(), fSelection.Anchor()),
185 _SetCaretOffset(fSelection.Caret() + 1, true, select, true);
197 Insert(fSelection.Caret(), "\n");
202 Insert(fSelection.Caret(), " ");
212 if (fSelection.Caret() > 0)
213 Remove(fSelection.Caret() - 1, 1);
221 if (fSelection.Caret() < fDocument->Length())
222 Remove(fSelection.Caret(), 1);
307 int32 lineIndex = fLayout->LineIndexForOffset(fSelection.Caret());
318 int32 lineIndex = fLayout->LineIndexForOffset(fSelection.Caret());
329 int32 lineIndex = fLayout->LineIndexForOffset(fSelection.Caret());
341 int32 lineIndex = fLayout->LineIndexForOffset(fSelection.Caret());
360 return std::min(fSelection.Caret(), fSelection.Anchor());
367 return std::max(fSelection.Caret(), fSelection.Anchor());
431 int32 anchor = lockSelectionAnchor ? fSelection.Anchor() : offset;
443 if (caret == fSelection.Caret() && anchor == fSelection.Anchor())
446 fSelection.SetCaret(caret);
447 fSelection.SetAnchor(anchor);
470 int32 offset = fSelection.Caret() - 1;