Lines Matching defs:Editor

28 #include "Editor.h"
99 VisibleSelection Editor::selectionForCommand(Event* event)
122 EditingBehavior Editor::behavior() const
130 EditorClient* Editor::client() const
138 TextCheckerClient* Editor::textChecker() const
145 void Editor::handleKeyboardEvent(KeyboardEvent* event)
151 void Editor::handleInputMethodKeydown(KeyboardEvent* event)
157 bool Editor::handleTextEvent(TextEvent* event)
182 bool Editor::canEdit() const
187 bool Editor::canEditRichly() const
197 bool Editor::canDHTMLCut()
202 bool Editor::canDHTMLCopy()
207 bool Editor::canDHTMLPaste()
212 bool Editor::canCut() const
236 bool Editor::canCopy() const
244 bool Editor::canPaste() const
249 bool Editor::canDelete() const
255 bool Editor::canDeleteRange(Range* range) const
276 bool Editor::smartInsertDeleteEnabled()
281 bool Editor::canSmartCopyOrDelete()
286 bool Editor::isSelectTrailingWhitespaceEnabled()
291 bool Editor::deleteWithDirection(SelectionDirection direction, TextGranularity granularity, bool killRing, bool isTypingAction)
334 void Editor::deleteSelectionWithSmartDelete(bool smartDelete)
342 void Editor::pasteAsPlainText(const String& pastingText, bool smartReplace)
351 void Editor::pasteAsFragment(PassRefPtr<DocumentFragment> pastingFragment, bool smartReplace, bool matchStyle)
360 void Editor::pasteAsPlainTextBypassingDHTML()
365 void Editor::pasteAsPlainTextWithPasteboard(Pasteboard* pasteboard)
373 void Editor::pasteWithPasteboard(Pasteboard* pasteboard, bool allowPlainText)
383 bool Editor::canSmartReplaceWithPasteboard(Pasteboard* pasteboard)
388 bool Editor::shouldInsertFragment(PassRefPtr<DocumentFragment> fragment, PassRefPtr<Range> replacingDOMRange, EditorInsertAction givenAction)
402 void Editor::replaceSelectionWithFragment(PassRefPtr<DocumentFragment> fragment, bool selectReplacement, bool smartReplace, bool matchStyle)
422 void Editor::replaceSelectionWithText(const String& text, bool selectReplacement, bool smartReplace)
427 PassRefPtr<Range> Editor::selectedRange()
434 bool Editor::shouldDeleteRange(Range* range) const
446 bool Editor::tryDHTMLCopy()
459 bool Editor::tryDHTMLCut()
472 bool Editor::tryDHTMLPaste()
477 void Editor::writeSelectionToPasteboard(Pasteboard* pasteboard)
482 bool Editor::shouldInsertText(const String& text, Range* range, EditorInsertAction action) const
487 bool Editor::shouldShowDeleteInterface(HTMLElement* element) const
492 void Editor::respondToChangedSelection(const VisibleSelection& oldSelection)
500 void Editor::respondToChangedContents(const VisibleSelection& endingSelection)
514 const SimpleFontData* Editor::fontForSelection(bool& hasMultipleFonts) const
565 WritingDirection Editor::textDirectionForSelection(bool& hasNestedOrMultipleEmbeddings) const
651 bool Editor::hasBidiSelection() const
679 TriState Editor::selectionUnorderedListState() const
694 TriState Editor::selectionOrderedListState() const
709 PassRefPtr<Node> Editor::insertOrderedList()
719 PassRefPtr<Node> Editor::insertUnorderedList()
729 bool Editor::canIncreaseSelectionListLevel()
734 bool Editor::canDecreaseSelectionListLevel()
739 PassRefPtr<Node> Editor::increaseSelectionListLevel()
749 PassRefPtr<Node> Editor::increaseSelectionListLevelOrdered()
759 PassRefPtr<Node> Editor::increaseSelectionListLevelUnordered()
769 void Editor::decreaseSelectionListLevel()
778 void Editor::removeFormattingAndStyle()
783 void Editor::clearLastEditCommand()
790 bool Editor::dispatchCPPEvent(const AtomicString &eventType, ClipboardAccessPolicy policy)
809 Node* Editor::findEventTargetFrom(const VisibleSelection& selection) const
820 Node* Editor::findEventTargetFromSelection() const
825 void Editor::applyStyle(CSSStyleDeclaration* style, EditAction editingAction)
841 bool Editor::shouldApplyStyle(CSSStyleDeclaration* style, Range* range)
846 void Editor::applyParagraphStyle(CSSStyleDeclaration* style, EditAction editingAction)
860 void Editor::applyStyleToSelection(CSSStyleDeclaration* style, EditAction editingAction)
869 void Editor::applyParagraphStyleToSelection(CSSStyleDeclaration* style, EditAction editingAction)
878 bool Editor::selectionStartHasStyle(int propertyID, const String& value) const
887 TriState Editor::selectionHasStyle(int propertyID, const String& value) const
935 String Editor::selectionStartCSSPropertyValue(int propertyID)
967 void Editor::indent()
972 void Editor::outdent()
988 void Editor::appliedEditing(PassRefPtr<EditCommand> cmd)
1016 void Editor::unappliedEditing(PassRefPtr<EditCommand> cmd)
1031 void Editor::reappliedEditing(PassRefPtr<EditCommand> cmd)
1046 Editor::Editor(Frame* frame)
1060 Editor::~Editor()
1064 void Editor::clear()
1071 bool Editor::insertText(const String& text, Event* triggeringEvent)
1076 bool Editor::insertTextForConfirmedComposition(const String& text)
1081 bool Editor::insertTextWithoutSendingTextEvent(const String& text, bool selectInsertedText, TextEvent* triggeringEvent)
1132 bool Editor::insertLineBreak()
1147 bool Editor::insertParagraphSeparator()
1165 void Editor::cut()
1185 void Editor::copy()
1207 void Editor::paste()
1224 void Editor::pasteAsPlainText()
1234 void Editor::performDelete()
1249 void Editor::copyURL(const KURL& url, const String& title)
1254 void Editor::copyImage(const HitTestResult& result)
1263 bool Editor::isContinuousSpellCheckingEnabled()
1268 void Editor::toggleContinuousSpellChecking()
1274 bool Editor::isGrammarCheckingEnabled()
1279 void Editor::toggleGrammarChecking()
1285 int Editor::spellCheckerDocumentTag()
1292 void Editor::uppercaseWord()
1298 void Editor::lowercaseWord()
1304 void Editor::capitalizeWord()
1310 void Editor::showSubstitutionsPanel()
1324 bool Editor::substitutionsPanelIsShowing()
1331 void Editor::toggleSmartInsertDelete()
1337 bool Editor::isAutomaticQuoteSubstitutionEnabled()
1342 void Editor::toggleAutomaticQuoteSubstitution()
1348 bool Editor::isAutomaticLinkDetectionEnabled()
1353 void Editor::toggleAutomaticLinkDetection()
1359 bool Editor::isAutomaticDashSubstitutionEnabled()
1364 void Editor::toggleAutomaticDashSubstitution()
1370 bool Editor::isAutomaticTextReplacementEnabled()
1375 void Editor::toggleAutomaticTextReplacement()
1381 bool Editor::isAutomaticSpellingCorrectionEnabled()
1386 void Editor::toggleAutomaticSpellingCorrection()
1394 bool Editor::shouldEndEditing(Range* range)
1399 bool Editor::shouldBeginEditing(Range* range)
1404 void Editor::clearUndoRedoOperations()
1410 bool Editor::canUndo()
1415 void Editor::undo()
1421 bool Editor::canRedo()
1426 void Editor::redo()
1432 void Editor::didBeginEditing()
1438 void Editor::didEndEditing()
1444 void Editor::didWriteSelectionToPasteboard()
1450 void Editor::toggleBold()
1455 void Editor::toggleUnderline()
1460 void Editor::setBaseWritingDirection(WritingDirection direction)
1476 void Editor::selectComposition()
1489 void Editor::confirmComposition()
1496 void Editor::confirmCompositionWithoutDisturbingSelection()
1503 void Editor::confirmComposition(const String& text)
1508 void Editor::confirmComposition(const String& text, bool preserveSelection)
1552 void Editor::setComposition(const String& text, const Vector<CompositionUnderline>& underlines, unsigned selectionStart, unsigned selectionEnd)
1643 void Editor::ignoreSpelling()
1657 void Editor::learnSpelling()
1673 void Editor::advanceToNextMisspelling(bool startBeforeSelection)
1843 bool Editor::isSelectionMisspelled()
1870 bool Editor::isSelectionUngrammatical()
1880 Vector<String> Editor::guessesForUngrammaticalSelection()
1892 Vector<String> Editor::guessesForMisspelledSelection()
1903 Vector<String> Editor::guessesForMisspelledOrUngrammaticalSelection(bool& misspelled, bool& ungrammatical)
1922 void Editor::showSpellingGuessPanel()
1942 bool Editor::spellingPanelIsShowing()
1949 void Editor::clearMisspellingsAndBadGrammar(const VisibleSelection &movingSelection)
1958 void Editor::markMisspellingsAndBadGrammar(const VisibleSelection &movingSelection)
1972 void Editor::markMisspellingsAfterTypingToWord(const VisiblePosition &wordStart, const VisibleSelection& selectionAfterTyping, bool doReplacement)
2049 void Editor::markMisspellingsOrBadGrammar(const VisibleSelection& selection, bool checkSpelling, RefPtr<Range>& firstMisspellingRange)
2085 bool Editor::isSpellCheckingEnabledFor(Node* node) const
2095 bool Editor::isSpellCheckingEnabledInFocusedNode() const
2100 void Editor::markMisspellings(const VisibleSelection& selection, RefPtr<Range>& firstMisspellingRange)
2105 void Editor::markBadGrammar(const VisibleSelection& selection)
2112 void Editor::markAllMisspellingsAndBadGrammarInRanges(TextCheckingOptions textCheckingOptions, Range* spellingRange, Range* grammarRange)
2324 void Editor::changeBackToReplacedString(const String& replacedString)
2347 void Editor::markMisspellingsAndBadGrammar(const VisibleSelection& spellingSelection, bool markGrammar, const VisibleSelection& grammarSelection)
2364 void Editor::unappliedSpellCorrection(const VisibleSelection& selectionOfCorrected, const String& corrected, const String& correction)
2369 void Editor::updateMarkersForWordsAffectedByEditing(bool doNotRemoveIfSelectionAtWordBoundary)
2439 PassRefPtr<Range> Editor::rangeForPoint(const IntPoint& windowPoint)
2455 void Editor::revealSelectionAfterEditingOperation()
2463 void Editor::setIgnoreCompositionSelectionChange(bool ignore)
2473 PassRefPtr<Range> Editor::compositionRange() const
2485 bool Editor::getCompositionSelection(unsigned& selectionStart, unsigned& selectionEnd) const
2506 void Editor::transpose()
2548 void Editor::addToKillRing(Range* range, bool prepend)
2561 void Editor::startCorrectionPanelTimer()
2566 void Editor::handleCorrectionPanelResult(const String& correction)
2572 void Editor::dismissCorrectionPanelAsIgnored()
2577 bool Editor::insideVisibleArea(const IntPoint& point) const
2603 bool Editor::insideVisibleArea(Range* range) const
2633 PassRefPtr<Range> Editor::firstVisibleRange(const String& target, FindOptions options)
2649 PassRefPtr<Range> Editor::lastVisibleRange(const String& target, FindOptions options)
2665 PassRefPtr<Range> Editor::nextVisibleRange(Range* currentRange, const String& target, FindOptions options)
2715 void Editor::changeSelectionAfterCommand(const VisibleSelection& newSelection, bool closeTyping, bool clearTypingStyle)
2746 String Editor::selectedText() const
2752 IntRect Editor::firstRectForRange(Range* range) const
2799 bool Editor::shouldChangeSelection(const VisibleSelection& oldSelection, const VisibleSelection& newSelection, EAffinity affinity, bool stillSelecting) const
2804 void Editor::computeAndSetTypingStyle(CSSStyleDeclaration* style, EditAction editingAction)
2830 PassRefPtr<EditingStyle> Editor::selectionStartStyle() const
2855 void Editor::textFieldDidBeginEditing(Element* e)
2861 void Editor::textFieldDidEndEditing(Element* e)
2867 void Editor::textDidChangeInTextField(Element* e)
2873 bool Editor::doTextFieldCommandFromEvent(Element* e, KeyboardEvent* ke)
2881 void Editor::textWillBeDeletedInTextField(Element* input)
2887 void Editor::textDidChangeInTextArea(Element* e)
2893 void Editor::applyEditingStyleToBodyElement() const
2901 void Editor::applyEditingStyleToElement(Element* element) const
2918 RenderStyle* Editor::styleForSelectionStart(Node *&nodeToRemove) const
2953 bool Editor::findString(const String& target, bool forward, bool caseFlag, bool wrapFlag, bool startInSelection)
2959 bool Editor::findString(const String& target, FindOptions options)
3060 unsigned Editor::countMatchesForText(const String& target, FindOptions options, unsigned limit, bool markMatches)
3065 unsigned Editor::countMatchesForText(const String& target, Range* range, FindOptions options, unsigned limit, bool markMatches)
3138 void Editor::setMarkedTextMatchesAreHighlighted(bool flag)
3147 void Editor::respondToChangedSelection(const VisibleSelection& oldSelection, SelectionController::SetSelectionOptions options)
3220 bool Editor::selectionStartHasMarkerFor(DocumentMarker::MarkerType markerType, int from, int length) const
3238 FloatRect Editor::windowRectForRange(const Range* range) const
3252 TextCheckingTypeMask Editor::textCheckingTypeMaskFor(TextCheckingOptions textCheckingOptions)