Lines Matching defs:downstream
454 // Set upstream and downstream to define the extent of the whitespace surrounding text[offset].
459 int downstream = endOffset;
460 while ((unsigned)downstream < text.length() && isWhitespace(text[downstream]))
461 downstream++;
463 int length = downstream - upstream;
468 VisiblePosition visibleDownstreamPos(Position(textNode, downstream, Position::PositionIsOffsetInAnchor));
475 isEndOfParagraph(visibleDownstreamPos) || (unsigned)downstream == text.length());
496 deleteInsignificantText(position.upstream(), position.downstream());
497 position = upstreamPos.downstream();
623 Position end = VisiblePosition(pos, VP_DEFAULT_AFFINITY).next().deepEquivalent().downstream();
838 Position position = caretAfterDelete.deepEquivalent().downstream();
875 // We upstream() the end and downstream() the start so that we don't include collapsed whitespace in the move.
877 Position start = startOfParagraphToMove.deepEquivalent().downstream();
882 setEndingSelection(VisibleSelection(start, end, DOWNSTREAM));
953 // We upstream() the end and downstream() the start so that we don't include collapsed whitespace in the move.
955 Position start = startOfParagraphToMove.deepEquivalent().downstream();
983 setEndingSelection(VisibleSelection(start, end, DOWNSTREAM));
1033 setEndingSelection(VisibleSelection(start->startPosition(), end->startPosition(), DOWNSTREAM));
1092 setEndingSelection(VisibleSelection(firstPositionInNode(newBlock.get()), DOWNSTREAM));
1136 Position caretPos(caret.deepEquivalent().downstream());
1190 Position downstream(visiblePos.deepEquivalent().downstream());
1191 if (lineBreakExistsAtVisiblePosition(visiblePos) && downstream.deprecatedNode()->isDescendantOf(enclosingAnchor))