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/webkit/Source/WebCore/editing/
ApplyBlockElementCommand.cpp
79
VisiblePosition
endOfSelection
= selection.visibleEnd();
81
ASSERT(!
endOfSelection
.isNull());
83
int endIndex = indexForVisiblePosition(
endOfSelection
);
85
formatSelection(startOfSelection,
endOfSelection
);
95
void ApplyBlockElementCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition&
endOfSelection
)
111
VisiblePosition endAfterSelection = endOfParagraph(endOfParagraph(
endOfSelection
).next());
112
m_endOfLastParagraph = endOfParagraph(
endOfSelection
).deepEquivalent();
InsertListCommand.cpp
132
VisiblePosition
endOfSelection
= selection.visibleEnd();
133
VisiblePosition startOfLastParagraph = startOfParagraph(
endOfSelection
, CanSkipOverEditingBoundary);
145
// the new location of
endOfSelection
and use it as the end of the new selection.
150
// Save and restore
endOfSelection
and startOfLastParagraph when necessary
153
// the beginning of the document to the
endOfSelection
everytime this code is executed.
155
int indexForEndOfSelection = indexForVisiblePosition(
endOfSelection
);
157
if (
endOfSelection
.isNull() ||
endOfSelection
.isOrphan() || startOfLastParagraph.isNull() || startOfLastParagraph.isOrphan()) {
164
endOfSelection
= lastSelectionRange->startPosition();
165
startOfLastParagraph = startOfParagraph(
endOfSelection
, CanSkipOverEditingBoundary)
[
all
...]
Editor.cpp
[
all
...]
Completed in 585 milliseconds