Home | History | Annotate | Download | only in editing

Lines Matching refs:VisibleSelection

81 VisibleSelection Editor::selectionForCommand(Event* event)
83 VisibleSelection selection = m_frame->selection()->selection();
385 void Editor::respondToChangedSelection(const VisibleSelection& oldSelection)
392 void Editor::respondToChangedContents(const VisibleSelection& endingSelection)
720 case VisibleSelection::NoSelection:
723 case VisibleSelection::CaretSelection:
726 case VisibleSelection::RangeSelection:
741 case VisibleSelection::NoSelection:
744 case VisibleSelection::CaretSelection:
745 case VisibleSelection::RangeSelection:
872 VisibleSelection newSelection(cmd->endingSelection());
896 VisibleSelection newSelection(cmd->startingSelection());
909 VisibleSelection newSelection(cmd->endingSelection());
949 VisibleSelection selection = selectionForCommand(triggeringEvent);
1329 VisibleSelection selection;
1357 VisibleSelection oldSelection = m_frame->selection()->selection();
1831 VisibleSelection selection(frame()->selection()->selection());
1976 frame()->selection()->setSelection(VisibleSelection(badGrammarRange.get(), SEL_DEFAULT_AFFINITY));
1987 frame()->selection()->setSelection(VisibleSelection(misspellingRange.get(), DOWNSTREAM));
2223 VisibleSelection adjacentWords = VisibleSelection(startOfWord(p, LeftWordIfOnBoundary), endOfWord(p, RightWordIfOnBoundary));
2225 VisibleSelection selectedSentence = VisibleSelection(startOfSentence(p), endOfSentence(p));
2236 markMisspellings(VisibleSelection(startOfWord(p, LeftWordIfOnBoundary), endOfWord(p, RightWordIfOnBoundary)), misspellingRange);
2248 VisibleSelection newSelection(misspellingRange.get(), DOWNSTREAM);
2268 markBadGrammar(VisibleSelection(startOfSentence(p), endOfSentence(p)));
2291 static void markMisspellingsOrBadGrammar(Editor* editor, const VisibleSelection& selection, bool checkSpelling, RefPtr<Range>& firstMisspellingRange)
2347 void Editor::markMisspellings(const VisibleSelection& selection, RefPtr<Range>& firstMisspellingRange)
2352 void Editor::markBadGrammar(const VisibleSelection& selection)
2417 if (m_frame->selection()->selectionType() == VisibleSelection::CaretSelection) {
2482 VisibleSelection selectionToReplace(rangeToReplace.get(), DOWNSTREAM);
2578 void Editor::markMisspellingsAndBadGrammar(const VisibleSelection& spellingSelection, bool markGrammar, const VisibleSelection& grammarSelection)
2604 VisibleSelection selection(frame->visiblePositionForPoint(framePoint));
2664 VisibleSelection selection = m_frame->selection()->selection();
2680 VisibleSelection newSelection(range.get(), DOWNSTREAM);
2877 void Editor::changeSelectionAfterCommand(const VisibleSelection& newSelection, bool closeTyping, bool clearTypingStyle, EditCommand* cmd)