Home | History | Annotate | Download | only in editing

Lines Matching refs:startInSelection

2953 bool Editor::findString(const String& target, bool forward, bool caseFlag, bool wrapFlag, bool startInSelection)
2955 FindOptions options = (forward ? 0 : Backwards) | (caseFlag ? 0 : CaseInsensitive) | (wrapFlag ? WrapAround : 0) | (startInSelection ? StartInSelection : 0);
2968 // is used depends on whether we're searching forward or backward, and whether startInSelection is set.
2973 bool startInSelection = options & StartInSelection;
2975 setStart(searchRange.get(), startInSelection ? selection.visibleStart() : selection.visibleEnd());
2977 setEnd(searchRange.get(), startInSelection ? selection.visibleEnd() : selection.visibleStart());
2992 if (startInSelection && areRangesEqual(VisibleSelection(resultRange.get()).toNormalizedRange().get(), selection.toNormalizedRange().get())) {