OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:startOfSelection
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/editing/
ApplyBlockElementCommand.cpp
85
VisiblePosition
startOfSelection
= selection.visibleStart();
87
ASSERT(!
startOfSelection
.isNull());
90
int startIndex = indexForVisiblePosition(
startOfSelection
, startScope);
94
formatSelection(
startOfSelection
, endOfSelection);
109
void ApplyBlockElementCommand::formatSelection(const VisiblePosition&
startOfSelection
, const VisiblePosition& endOfSelection)
113
Position start =
startOfSelection
.deepEquivalent().downstream();
124
VisiblePosition endOfCurrentParagraph = endOfParagraph(
startOfSelection
);
InsertListCommand.cpp
138
VisiblePosition
startOfSelection
= selection.visibleStart();
149
int indexForStartOfSelection = indexForVisiblePosition(
startOfSelection
, scopeForStartOfSelection);
152
if (startOfParagraph(
startOfSelection
, CanSkipOverEditingBoundary) != startOfLastParagraph) {
155
VisiblePosition startOfCurrentParagraph =
startOfSelection
;
190
if (
startOfSelection
.isNull() ||
startOfSelection
.isOrphan()) {
191
startOfSelection
= visiblePositionForIndex(indexForStartOfSelection, scopeForStartOfSelection.get());
192
if (
startOfSelection
.isNull())
195
setEndingSelection(VisibleSelection(
startOfSelection
, endOfSelection, endingSelection().isDirectional()));
Completed in 31 milliseconds