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
81
VisiblePosition
endOfSelection
= selection.visibleEnd();
83
ASSERT(!
endOfSelection
.isNull());
87
int endIndex = indexForVisiblePosition(
endOfSelection
, endScope);
89
formatSelection(startOfSelection,
endOfSelection
);
104
void ApplyBlockElementCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition&
endOfSelection
)
120
VisiblePosition endOfLastParagraph = endOfParagraph(
endOfSelection
);
InsertListCommand.cpp
133
VisiblePosition
endOfSelection
= selection.visibleEnd();
134
VisiblePosition startOfLastParagraph = startOfParagraph(
endOfSelection
, CanSkipOverEditingBoundary);
138
int indexForEndOfSelection = indexForVisiblePosition(
endOfSelection
, scope);
148
// the new location of
endOfSelection
and use it as the end of the new selection.
153
// Save and restore
endOfSelection
and startOfLastParagraph when necessary
156
// the beginning of the document to the
endOfSelection
everytime this code is executed.
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
...]
SpellChecker.cpp
673
VisiblePosition
endOfSelection
= m_frame.selection().selection().end();
680
VisiblePosition startOfLastWord = startOfWord(
endOfSelection
, RightWordIfOnBoundary);
681
VisiblePosition endOfLastWord = endOfWord(
endOfSelection
, RightWordIfOnBoundary);
[
all
...]
Completed in 76 milliseconds