OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:endOfSelection
(Results
1 - 9
of
9
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/editing/
ApplyBlockElementCommand.h
44
virtual void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition&
endOfSelection
);
50
virtual void formatRange(const Position& start, const Position& end, const Position&
endOfSelection
, RefPtr<Element>&) = 0;
FormatBlockCommand.h
56
void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition&
endOfSelection
);
57
void formatRange(const Position& start, const Position& end, const Position&
endOfSelection
, RefPtr<Element>&);
IndentOutdentCommand.h
55
void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition&
endOfSelection
);
56
void formatRange(const Position& start, const Position& end, const Position&
endOfSelection
, RefPtr<Element>& blockquoteForNextIndent);
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
...]
FormatBlockCommand.cpp
54
void FormatBlockCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition&
endOfSelection
)
58
ApplyBlockElementCommand::formatSelection(startOfSelection,
endOfSelection
);
62
void FormatBlockCommand::formatRange(const Position& start, const Position& end, const Position&
endOfSelection
, RefPtr<Element>& blockNode)
73
RefPtr<Range> range = Range::create(document(), start,
endOfSelection
);
IndentOutdentCommand.cpp
194
void IndentOutdentCommand::outdentRegion(const VisiblePosition& startOfSelection, const VisiblePosition&
endOfSelection
)
197
VisiblePosition endOfLastParagraph = endOfParagraph(
endOfSelection
);
230
void IndentOutdentCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition&
endOfSelection
)
233
ApplyBlockElementCommand::formatSelection(startOfSelection,
endOfSelection
);
235
outdentRegion(startOfSelection,
endOfSelection
);
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
);
SpellChecker.cpp
673
VisiblePosition
endOfSelection
= m_frame.selection().selection().end();
680
VisiblePosition startOfLastWord = startOfWord(
endOfSelection
, RightWordIfOnBoundary);
681
VisiblePosition endOfLastWord = endOfWord(
endOfSelection
, RightWordIfOnBoundary);
[
all
...]
htmlediting.cpp
[
all
...]
Completed in 71 milliseconds