OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:endOfSelection
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/editing/
ApplyBlockElementCommand.cpp
80
VisiblePosition
endOfSelection
= selection.visibleEnd();
82
ASSERT(!
endOfSelection
.isNull());
86
int endIndex = indexForVisiblePosition(
endOfSelection
, endScope);
88
formatSelection(startOfSelection,
endOfSelection
);
103
void ApplyBlockElementCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition&
endOfSelection
)
119
VisiblePosition endAfterSelection = endOfParagraph(endOfParagraph(
endOfSelection
).next());
120
m_endOfLastParagraph = endOfParagraph(
endOfSelection
).deepEquivalent();
InsertListCommand.cpp
133
VisiblePosition
endOfSelection
= selection.visibleEnd();
134
VisiblePosition startOfLastParagraph = startOfParagraph(
endOfSelection
, CanSkipOverEditingBoundary);
146
// the new location of
endOfSelection
and use it as the end of the new selection.
151
// Save and restore
endOfSelection
and startOfLastParagraph when necessary
154
// the beginning of the document to the
endOfSelection
everytime this code is executed.
157
int indexForEndOfSelection = indexForVisiblePosition(
endOfSelection
, scope);
159
if (
endOfSelection
.isNull() ||
endOfSelection
.isOrphan() || startOfLastParagraph.isNull() || startOfLastParagraph.isOrphan()) {
160
endOfSelection
= visiblePositionForIndex(indexForEndOfSelection, scope.get());
161
// If
endOfSelection
is null, then some contents have been deleted from the document
[
all
...]
Editor.cpp
[
all
...]
Completed in 857 milliseconds