Lines Matching refs:Editor

28 #include "Editor.h"
81 VisibleSelection Editor::selectionForCommand(Event* event)
99 EditorClient* Editor::client() const
106 void Editor::handleKeyboardEvent(KeyboardEvent* event)
112 void Editor::handleInputMethodKeydown(KeyboardEvent* event)
118 bool Editor::canEdit() const
123 bool Editor::canEditRichly() const
133 bool Editor::canDHTMLCut()
138 bool Editor::canDHTMLCopy()
143 bool Editor::canDHTMLPaste()
148 bool Editor::canCut() const
172 bool Editor::canCopy() const
180 bool Editor::canPaste() const
185 bool Editor::canDelete() const
191 bool Editor::canDeleteRange(Range* range) const
212 bool Editor::smartInsertDeleteEnabled()
217 bool Editor::canSmartCopyOrDelete()
222 bool Editor::isSelectTrailingWhitespaceEnabled()
227 bool Editor::deleteWithDirection(SelectionController::EDirection direction, TextGranularity granularity, bool killRing, bool isTypingAction)
265 void Editor::deleteSelectionWithSmartDelete(bool smartDelete)
273 void Editor::pasteAsPlainTextWithPasteboard(Pasteboard* pasteboard)
280 void Editor::pasteWithPasteboard(Pasteboard* pasteboard, bool allowPlainText)
289 bool Editor::canSmartReplaceWithPasteboard(Pasteboard* pasteboard)
294 bool Editor::shouldInsertFragment(PassRefPtr<DocumentFragment> fragment, PassRefPtr<Range> replacingDOMRange, EditorInsertAction givenAction)
306 void Editor::replaceSelectionWithFragment(PassRefPtr<DocumentFragment> fragment, bool selectReplacement, bool smartReplace, bool matchStyle)
315 void Editor::replaceSelectionWithText(const String& text, bool selectReplacement, bool smartReplace)
320 PassRefPtr<Range> Editor::selectedRange()
327 bool Editor::shouldDeleteRange(Range* range) const
339 bool Editor::tryDHTMLCopy()
352 bool Editor::tryDHTMLCut()
365 bool Editor::tryDHTMLPaste()
370 void Editor::writeSelectionToPasteboard(Pasteboard* pasteboard)
375 bool Editor::shouldInsertText(const String& text, Range* range, EditorInsertAction action) const
380 bool Editor::shouldShowDeleteInterface(HTMLElement* element) const
385 void Editor::respondToChangedSelection(const VisibleSelection& oldSelection)
392 void Editor::respondToChangedContents(const VisibleSelection& endingSelection)
404 const SimpleFontData* Editor::fontForSelection(bool& hasMultipleFonts) const
455 WritingDirection Editor::textDirectionForSelection(bool& hasNestedOrMultipleEmbeddings) const
556 bool Editor::hasBidiSelection() const
584 TriState Editor::selectionUnorderedListState() const
599 TriState Editor::selectionOrderedListState() const
614 PassRefPtr<Node> Editor::insertOrderedList()
624 PassRefPtr<Node> Editor::insertUnorderedList()
634 bool Editor::canIncreaseSelectionListLevel()
639 bool Editor::canDecreaseSelectionListLevel()
644 PassRefPtr<Node> Editor::increaseSelectionListLevel()
654 PassRefPtr<Node> Editor::increaseSelectionListLevelOrdered()
664 PassRefPtr<Node> Editor::increaseSelectionListLevelUnordered()
674 void Editor::decreaseSelectionListLevel()
683 void Editor::removeFormattingAndStyle()
688 void Editor::clearLastEditCommand()
695 bool Editor::dispatchCPPEvent(const AtomicString &eventType, ClipboardAccessPolicy policy)
717 void Editor::applyStyle(CSSStyleDeclaration* style, EditAction editingAction)
733 bool Editor::shouldApplyStyle(CSSStyleDeclaration* style, Range* range)
738 void Editor::applyParagraphStyle(CSSStyleDeclaration* style, EditAction editingAction)
752 void Editor::applyStyleToSelection(CSSStyleDeclaration* style, EditAction editingAction)
761 void Editor::applyParagraphStyleToSelection(CSSStyleDeclaration* style, EditAction editingAction)
770 bool Editor::clientIsEditable() const
798 bool Editor::selectionStartHasStyle(CSSStyleDeclaration* style) const
813 TriState Editor::selectionHasStyle(CSSStyleDeclaration* style) const
847 void Editor::indent()
852 void Editor::outdent()
868 void Editor::appliedEditing(PassRefPtr<EditCommand> cmd)
892 void Editor::unappliedEditing(PassRefPtr<EditCommand> cmd)
905 void Editor::reappliedEditing(PassRefPtr<EditCommand> cmd)
918 Editor::Editor(Frame* frame)
928 Editor::~Editor()
932 void Editor::clear()
939 bool Editor::insertText(const String& text, Event* triggeringEvent)
944 bool Editor::insertTextWithoutSendingTextEvent(const String& text, bool selectInsertedText, Event* triggeringEvent)
978 bool Editor::insertLineBreak()
991 bool Editor::insertParagraphSeparator()
1007 void Editor::cut()
1026 void Editor::copy()
1050 void Editor::paste()
1068 void Editor::pasteAsPlainText()
1077 void Editor::performDelete()
1092 void Editor::copyURL(const KURL& url, const String& title)
1097 void Editor::copyImage(const HitTestResult& result)
1106 bool Editor::isContinuousSpellCheckingEnabled()
1111 void Editor::toggleContinuousSpellChecking()
1117 bool Editor::isGrammarCheckingEnabled()
1122 void Editor::toggleGrammarChecking()
1128 int Editor::spellCheckerDocumentTag()
1135 void Editor::uppercaseWord()
1141 void Editor::lowercaseWord()
1147 void Editor::capitalizeWord()
1153 void Editor::showSubstitutionsPanel()
1167 bool Editor::substitutionsPanelIsShowing()
1174 void Editor::toggleSmartInsertDelete()
1180 bool Editor::isAutomaticQuoteSubstitutionEnabled()
1185 void Editor::toggleAutomaticQuoteSubstitution()
1191 bool Editor::isAutomaticLinkDetectionEnabled()
1196 void Editor::toggleAutomaticLinkDetection()
1202 bool Editor::isAutomaticDashSubstitutionEnabled()
1207 void Editor::toggleAutomaticDashSubstitution()
1213 bool Editor::isAutomaticTextReplacementEnabled()
1218 void Editor::toggleAutomaticTextReplacement()
1224 bool Editor::isAutomaticSpellingCorrectionEnabled()
1229 void Editor::toggleAutomaticSpellingCorrection()
1237 bool Editor::shouldEndEditing(Range* range)
1242 bool Editor::shouldBeginEditing(Range* range)
1247 void Editor::clearUndoRedoOperations()
1253 bool Editor::canUndo()
1258 void Editor::undo()
1264 bool Editor::canRedo()
1269 void Editor::redo()
1275 void Editor::didBeginEditing()
1281 void Editor::didEndEditing()
1287 void Editor::didWriteSelectionToPasteboard()
1293 void Editor::toggleBold()
1298 void Editor::toggleUnderline()
1303 void Editor::setBaseWritingDirection(WritingDirection direction)
1321 void Editor::selectComposition()
1334 void Editor::confirmComposition()
1341 void Editor::confirmCompositionWithoutDisturbingSelection()
1348 void Editor::confirmComposition(const String& text)
1353 void Editor::confirmComposition(const String& text, bool preserveSelection)
1395 void Editor::setComposition(const String& text, const Vector<CompositionUnderline>& underlines, unsigned selectionStart, unsigned selectionEnd)
1476 void Editor::ignoreSpelling()
1490 void Editor::learnSpelling()
1822 void Editor::advanceToNextMisspelling(bool startBeforeSelection)
1995 bool Editor::isSelectionMisspelled()
2069 bool Editor::isSelectionUngrammatical()
2079 Vector<String> Editor::guessesForUngrammaticalSelection()
2091 Vector<String> Editor::guessesForMisspelledSelection()
2164 Vector<String> Editor::guessesForMisspelledOrUngrammaticalSelection(bool& misspelled, bool& ungrammatical)
2183 void Editor::showSpellingGuessPanel()
2203 bool Editor::spellingPanelIsShowing()
2210 void Editor::markMisspellingsAfterTypingToPosition(const VisiblePosition &p)
2291 static void markMisspellingsOrBadGrammar(Editor* editor, const VisibleSelection& selection, bool checkSpelling, RefPtr<Range>& firstMisspellingRange)
2329 bool Editor::spellCheckingEnabledInFocusedNode() const
2347 void Editor::markMisspellings(const VisibleSelection& selection, RefPtr<Range>& firstMisspellingRange)
2352 void Editor::markBadGrammar(const VisibleSelection& selection)
2372 void Editor::markAllMisspellingsAndBadGrammarInRanges(bool markSpelling, Range* spellingRange, bool markGrammar, Range* grammarRange, bool performTextCheckingReplacements)
2559 void Editor::changeBackToReplacedString(const String& replacedString)
2578 void Editor::markMisspellingsAndBadGrammar(const VisibleSelection& spellingSelection, bool markGrammar, const VisibleSelection& grammarSelection)
2592 PassRefPtr<Range> Editor::rangeForPoint(const IntPoint& windowPoint)
2608 void Editor::revealSelectionAfterEditingOperation()
2616 void Editor::setIgnoreCompositionSelectionChange(bool ignore)
2626 PassRefPtr<Range> Editor::compositionRange() const
2638 bool Editor::getCompositionSelection(unsigned& selectionStart, unsigned& selectionEnd) const
2659 void Editor::transpose()
2701 void Editor::addToKillRing(Range* range, bool prepend)
2716 void Editor::appendToKillRing(const String&)
2720 void Editor::prependToKillRing(const String&)
2724 String Editor::yankFromKillRing()
2729 void Editor::startNewKillRingSequence()
2733 void Editor::setKillRingToYankedState()
2739 bool Editor::insideVisibleArea(const IntPoint& point) const
2765 bool Editor::insideVisibleArea(Range* range) const
2795 PassRefPtr<Range> Editor::firstVisibleRange(const String& target, bool caseFlag)
2811 PassRefPtr<Range> Editor::lastVisibleRange(const String& target, bool caseFlag)
2827 PassRefPtr<Range> Editor::nextVisibleRange(Range* currentRange, const String& target, bool forward, bool caseFlag, bool wrapFlag)
2877 void Editor::changeSelectionAfterCommand(const VisibleSelection& newSelection, bool closeTyping, bool clearTypingStyle, EditCommand* cmd)