OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:endingSelection
(Results
1 - 20
of
20
) sorted by null
/external/webkit/Source/WebCore/editing/
CreateLinkCommand.cpp
43
if (
endingSelection
().isNone())
49
if (
endingSelection
().isRange())
52
insertNodeAt(anchorElement.get(),
endingSelection
().start());
UnlinkCommand.cpp
41
if (!
endingSelection
().isNonOrphanedRange())
MoveSelectionCommand.cpp
42
ASSERT(
endingSelection
().isNonOrphanedRange());
49
Position selectionEnd =
endingSelection
().end();
54
Position selectionStart =
endingSelection
().start();
66
pos =
endingSelection
().start();
68
setEndingSelection(VisibleSelection(pos,
endingSelection
().affinity()));
TypingCommand.cpp
144
if (currentSelection == typingCommand->
endingSelection
())
194
if (lastTypingCommand->
endingSelection
() != selectionForInsertion) {
283
if (!
endingSelection
().isNonOrphanedCaretOrRange())
339
VisiblePosition start(
endingSelection
().start(),
endingSelection
().affinity());
349
document()->frame()->editor()->markMisspellingsAfterTypingToWord(p1,
endingSelection
(), !strippedPreviousWord.isEmpty());
407
if (
endingSelection
() != command->
endingSelection
()) {
408
command->setStartingSelection(
endingSelection
());
409
command->setEndingSelection(
endingSelection
());
[
all
...]
BreakBlockquoteCommand.cpp
47
if (
endingSelection
().isNone())
51
if (
endingSelection
().isRange())
57
ASSERT(!
endingSelection
().isNone());
59
if (
endingSelection
().isNone())
62
VisiblePosition visiblePos =
endingSelection
().visibleStart();
66
Position pos =
endingSelection
().start().downstream();
InsertTextCommand.cpp
74
if (!
endingSelection
().isRange())
80
Position start =
endingSelection
().start().parentAnchoredEquivalent();
81
Position end =
endingSelection
().end().parentAnchoredEquivalent();
100
setEndingSelection(VisibleSelection(
endingSelection
().visibleEnd()));
110
if (!
endingSelection
().isNonOrphanedCaretOrRange())
115
if (
endingSelection
().isRange()) {
121
Position startPosition(
endingSelection
().start());
202
setEndingSelection(VisibleSelection(
endingSelection
().end(),
endingSelection
().affinity()));
InsertListCommand.cpp
108
if (!
endingSelection
().isNonOrphanedCaretOrRange())
111
if (!
endingSelection
().rootEditableElement())
114
VisiblePosition visibleEnd =
endingSelection
().visibleEnd();
115
VisiblePosition visibleStart =
endingSelection
().visibleStart();
128
if (
endingSelection
().isRange()) {
129
VisibleSelection selection = selectionForParagraphIteration(
endingSelection
());
138
RefPtr<Range> currentSelection =
endingSelection
().firstRange();
144
// FIXME(<rdar://problem/5983974>): The
endingSelection
() may be incorrect here. Compute
173
startOfSelection =
endingSelection
().visibleStart();
175
startOfCurrentParagraph = startOfNextParagraph(
endingSelection
().visibleStart())
[
all
...]
EditCommand.h
50
const VisibleSelection&
endingSelection
() const { return m_endingSelection; }
InsertParagraphSeparatorCommand.cpp
101
m_style->prepareToApplyAt(
endingSelection
().start());
112
if (!isEndOfBlock(
endingSelection
().visibleStart()))
149
if (!
endingSelection
().isNonOrphanedCaretOrRange())
152
Position insertionPosition =
endingSelection
().start();
154
EAffinity affinity =
endingSelection
().affinity();
157
if (
endingSelection
().isRange()) {
160
insertionPosition =
endingSelection
().start();
161
affinity =
endingSelection
().affinity();
ApplyBlockElementCommand.cpp
58
if (!
endingSelection
().isNonOrphanedCaretOrRange())
61
if (!
endingSelection
().rootEditableElement())
64
VisiblePosition visibleEnd =
endingSelection
().visibleEnd();
65
VisiblePosition visibleStart =
endingSelection
().visibleStart();
77
VisibleSelection selection = selectionForParagraphIteration(
endingSelection
());
CompositeEditCommand.cpp
304
RefPtr<Range> startRange = Range::create(document(), firstPositionInNode(document()->documentElement()),
endingSelection
().start());
373
if (
endingSelection
().isRange())
511
VisibleSelection selection =
endingSelection
();
835
VisiblePosition caretAfterDelete =
endingSelection
().visibleStart();
[
all
...]
InsertLineBreakCommand.cpp
91
VisibleSelection selection =
endingSelection
();
175
// Even though this applyStyle operates on a Range, it still sets an
endingSelection
().
179
// So, this next call sets the
endingSelection
() to a caret just after the line break
181
setEndingSelection(
endingSelection
().visibleEnd());
IndentOutdentCommand.cpp
119
VisiblePosition visibleStartOfParagraph = startOfParagraph(
endingSelection
().visibleStart());
192
Position originalSelectionEnd =
endingSelection
().end();
212
endOfCurrentParagraph =
endingSelection
().end();
ReplaceSelectionCommand.cpp
757
m_firstNodeInserted =
endingSelection
().visibleStart().deepEquivalent().deprecatedNode();
[
all
...]
EditCommand.cpp
65
if (!
endingSelection
().isContentRichlyEditable()) {
ModifySelectionListLevel.cpp
175
if (!canIncreaseListLevel(
endingSelection
(), startListChild, endListChild))
258
if (!canDecreaseListLevel(
endingSelection
(), startListChild, endListChild))
ApplyStyleCommand.cpp
126
, m_start(
endingSelection
().start().downstream())
127
, m_end(
endingSelection
().end().upstream())
154
, m_start(
endingSelection
().start().downstream())
155
, m_end(
endingSelection
().end().upstream())
168
, m_start(
endingSelection
().start().downstream())
169
, m_end(
endingSelection
().end().upstream())
192
return
endingSelection
().start();
200
return
endingSelection
().end();
[
all
...]
DeleteSelectionCommand.cpp
212
// Only apply this rule if the
endingSelection
is a range selection. If it is a caret, then other operations have created
216
&&
endingSelection
().isRange()) {
652
m_endingPosition =
endingSelection
().start();
[
all
...]
Editor.h
134
void respondToChangedContents(const VisibleSelection&
endingSelection
);
Editor.cpp
500
void Editor::respondToChangedContents(const VisibleSelection&
endingSelection
)
503
Node* node =
endingSelection
.start().deprecatedNode();
[
all
...]
Completed in 113 milliseconds