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
85
VisiblePosition
endOfSelection
= selection.visibleEnd();
87
ASSERT(!
endOfSelection
.isNull());
91
int endIndex = indexForVisiblePosition(
endOfSelection
, endScope);
93
formatSelection(startOfSelection,
endOfSelection
);
108
void ApplyBlockElementCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition&
endOfSelection
)
124
VisiblePosition endOfLastParagraph = endOfParagraph(
endOfSelection
);
InsertListCommand.cpp
135
VisiblePosition
endOfSelection
= selection.visibleEnd();
136
VisiblePosition startOfLastParagraph = startOfParagraph(
endOfSelection
, CanSkipOverEditingBoundary);
140
int indexForEndOfSelection = indexForVisiblePosition(
endOfSelection
, scope);
150
// the new location of
endOfSelection
and use it as the end of the new selection.
155
// Save and restore
endOfSelection
and startOfLastParagraph when necessary
158
// the beginning of the document to the
endOfSelection
everytime this code is executed.
161
if (
endOfSelection
.isNull() ||
endOfSelection
.isOrphan() || startOfLastParagraph.isNull() || startOfLastParagraph.isOrphan()) {
162
endOfSelection
= visiblePositionForIndex(indexForEndOfSelection, scope.get());
163
// If
endOfSelection
is null, then some contents have been deleted from the document
[
all
...]
SpellChecker.cpp
645
VisiblePosition
endOfSelection
= m_frame.selection().selection().visibleEnd();
652
VisiblePosition startOfLastWord = startOfWord(
endOfSelection
, RightWordIfOnBoundary);
653
VisiblePosition endOfLastWord = endOfWord(
endOfSelection
, RightWordIfOnBoundary);
661
startOfLastWord = startOfWord(
endOfSelection
, LeftWordIfOnBoundary);
662
endOfLastWord = endOfWord(
endOfSelection
, LeftWordIfOnBoundary);
670
if (startOfFirstWord ==
endOfSelection
)
[
all
...]
Completed in 40 milliseconds