Lines Matching defs:selectionOffset
2507 int selectionOffset = 0;
2517 selectionOffset = paragraph.offsetTo(caretPosition, ASSERT_NO_EXCEPTION);
2519 if (selectionOffset > 0 && (selectionOffset > paragraph.textLength() || paragraph.textCharAt(selectionOffset - 1) == newlineCharacter))
2521 if (selectionOffset > 0 && selectionOffset <= paragraph.textLength() && isAmbiguousBoundaryCharacter(paragraph.textCharAt(selectionOffset - 1)))
2535 const bool resultEndsAtAmbiguousBoundary = useAmbiguousBoundaryOffset && resultEndLocation == selectionOffset - 1;
2577 if (resultType == TextCheckingTypeLink && selectionOffset != resultEndLocation + 1)
2624 if (resultLocation < selectionOffset)
2625 selectionOffset += replacement.length() - resultLength;
2638 if (restoreSelectionAfterChange && selectionOffset >= 0 && selectionOffset <= extendedParagraph.rangeLength()) {
2639 RefPtr<Range> selectionRange = extendedParagraph.subrange(0, selectionOffset);