Home | History | Annotate | Download | only in editing

Lines Matching defs:upstream

454     // Set upstream and downstream to define the extent of the whitespace surrounding text[offset].
455 int upstream = startOffset;
456 while (upstream > 0 && isWhitespace(text[upstream - 1]))
457 upstream--;
463 int length = downstream - upstream;
467 VisiblePosition visibleUpstreamPos(Position(textNode, upstream, Position::PositionIsOffsetInAnchor));
470 String string = text.substring(upstream, length);
474 isStartOfParagraph(visibleUpstreamPos) || upstream == 0,
478 replaceTextInNode(textNode, upstream, length, rebalancedString);
495 Position upstreamPos = position.upstream();
496 deleteInsignificantText(position.upstream(), position.downstream());
713 Position upstreamStart = visibleParagraphStart.deepEquivalent().upstream();
714 Position upstreamEnd = visibleEnd.deepEquivalent().upstream();
875 // We upstream() the end and downstream() the start so that we don't include collapsed whitespace in the move.
878 Position end = endOfParagraphToMove.deepEquivalent().upstream();
953 // We upstream() the end and downstream() the start so that we don't include collapsed whitespace in the move.
956 Position end = endOfParagraphToMove.deepEquivalent().upstream();