Searched defs:upstream (Results 1 - 3 of 3) sorted by relevance

/external/webkit/WebCore/editing/
H A DVisiblePosition.cpp448 Position upstream = candidate.upstream(); local
449 if (upstream.isCandidate())
450 return upstream;
460 // unless the affinity is upstream.
467 Position candidate = position.upstream();
474 // When neither upstream or downstream gets us to a candidate (upstream/downstream won't leave
H A DCompositeEditCommand.cpp418 // Set upstream and downstream to define the extent of the whitespace surrounding text[offset].
419 int upstream = offset; local
420 while (upstream > 0 && isWhitespace(text[upstream - 1]))
421 upstream--;
427 int length = downstream - upstream + 1;
430 VisiblePosition visibleUpstreamPos(Position(position.node(), upstream));
433 String string = text.substring(upstream, length);
437 isStartOfParagraph(visibleUpstreamPos) || upstream == 0,
441 replaceTextInNode(textNode, upstream, lengt
[all...]
/external/webkit/WebCore/dom/
H A DPosition.cpp323 Position prevPosition = upstream(CanCrossEditingBoundary);
453 // upstream() and downstream() want to return positions that are either in a
470 // Also, upstream() will return [boundary, 0] for any of the positions from [boundary, 0] to the first candidate
472 Position Position::upstream(EditingBoundaryCrossingRule rule) const function in class:WebCore::Position
587 // This function and upstream() are used for moving back and forth between visually equivalent candidates.
590 // and upstream() will return the left one.
915 if (upstream().node()->hasTagName(brTag))
1022 Position pos = positionInParentBeforeNode(node()).upstream();

Completed in 71 milliseconds