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
86
VisiblePosition
endOfSelection
= selection.visibleEnd();
88
ASSERT(!
endOfSelection
.isNull());
92
int endIndex = indexForVisiblePosition(
endOfSelection
, endScope);
94
formatSelection(startOfSelection,
endOfSelection
);
109
void ApplyBlockElementCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition&
endOfSelection
)
125
VisiblePosition endOfLastParagraph = endOfParagraph(
endOfSelection
);
InsertListCommand.cpp
139
VisiblePosition
endOfSelection
= selection.visibleEnd();
140
VisiblePosition startOfLastParagraph = startOfParagraph(
endOfSelection
, CanSkipOverEditingBoundary);
147
//
endOfSelection
everytime this code is executed. But not using index is hard
150
int indexForEndOfSelection = indexForVisiblePosition(
endOfSelection
, scopeForEndOfSelection);
161
// the new location of
endOfSelection
and use it as the end of the new selection.
166
// Save and restore
endOfSelection
and startOfLastParagraph when necessary
169
if (
endOfSelection
.isNull() ||
endOfSelection
.isOrphan() || startOfLastParagraph.isNull() || startOfLastParagraph.isOrphan()) {
170
endOfSelection
= visiblePositionForIndex(indexForEndOfSelection, scopeForEndOfSelection.get());
171
// If
endOfSelection
is null, then some contents have been deleted from the document
[
all
...]
SpellChecker.cpp
688
VisiblePosition
endOfSelection
= frame().selection().selection().visibleEnd();
[
all
...]
Completed in 182 milliseconds