Home | History | Annotate | Download | only in page

Lines Matching refs:Editor

41 #include "Editor.h"
197 frame->editor()->copyURL(m_hitTestResult.absoluteLinkURL(), m_hitTestResult.textContent());
209 frame->editor()->copyImage(m_hitTestResult);
213 frame->editor()->copyURL(m_hitTestResult.absoluteImageURL(), m_hitTestResult.textContent());
220 frame->editor()->copyURL(m_hitTestResult.absoluteMediaURL(), m_hitTestResult.textContent());
246 frame->editor()->copy();
263 frame->editor()->command("Cut").execute();
266 frame->editor()->command("Paste").execute();
270 frame->editor()->performDelete();
275 frame->editor()->command("SelectAll").execute();
279 ASSERT(frame->editor()->selectedText().length());
280 if (frame->editor()->shouldInsertText(item->title(), frame->selection()->toNormalizedRange().get(), EditorInsertActionPasted)) {
288 frame->editor()->ignoreSpelling();
291 frame->editor()->learnSpelling();
307 frame->editor()->command("ToggleBold").execute();
310 frame->editor()->command("ToggleItalic").execute();
313 frame->editor()->toggleUnderline();
334 frame->editor()->setBaseWritingDirection(NaturalWritingDirection);
337 frame->editor()->setBaseWritingDirection(LeftToRightWritingDirection);
340 frame->editor()->setBaseWritingDirection(RightToLeftWritingDirection);
343 frame->editor()->command("MakeTextWritingDirectionNatural").execute();
346 frame->editor()->command("MakeTextWritingDirectionLeftToRight").execute();
349 frame->editor()->command("MakeTextWritingDirectionRightToLeft").execute();
357 frame->editor()->showSpellingGuessPanel();
360 frame->editor()->advanceToNextMisspelling();
363 frame->editor()->toggleContinuousSpellChecking();
367 frame->editor()->toggleGrammarChecking();
372 frame->editor()->showFontPanel();
375 frame->editor()->showStylesPanel();
378 frame->editor()->showColorPanel();
383 frame->editor()->uppercaseWord();
386 frame->editor()->lowercaseWord();
389 frame->editor()->capitalizeWord();
392 frame->editor()->showSubstitutionsPanel();
395 frame->editor()->toggleSmartInsertDelete();
398 frame->editor()->toggleAutomaticQuoteSubstitution();
401 frame->editor()->toggleAutomaticDashSubstitution();
404 frame->editor()->toggleAutomaticLinkDetection();
407 frame->editor()->toggleAutomaticTextReplacement();
410 frame->editor()->toggleAutomaticSpellingCorrection();
413 frame->editor()->changeBackToReplacedString(m_hitTestResult.replacedString());
768 String selectedString = frame->displayStringModifiedByEncoding(frame->editor()->selectedText());
833 bool spellCheckingEnabled = frame->editor()->isSpellCheckingEnabledFor(node);
840 Vector<String> guesses = frame->editor()->guessesForMisspelledOrUngrammaticalSelection(misspelling, badGrammar);
894 String selectedString = frame->displayStringModifiedByEncoding(frame->editor()->selectedText());
952 bool shouldShowFontMenu = frame->editor()->canEditRichly();
975 || (settings->textDirectionSubmenuInclusionBehavior() == TextDirectionSubmenuAutomaticallyIncluded && frame->editor()->hasBidiSelection());
1031 shouldEnable = frame->editor()->canEdit();
1040 shouldCheck = frame->editor()->selectionHasStyle(CSSPropertyDirection, direction) != FalseTriState;
1045 Editor::Command command = frame->editor()->command("MakeTextWritingDirectionNatural");
1051 Editor::Command command = frame->editor()->command("MakeTextWritingDirectionLeftToRight");
1057 Editor::Command command = frame->editor()->command("MakeTextWritingDirectionRightToLeft");
1063 shouldEnable = frame->editor()->canDHTMLCopy() || frame->editor()->canCopy();
1066 shouldEnable = frame->editor()->canDHTMLCut() || frame->editor()->canCut();
1073 shouldEnable = frame->editor()->canDHTMLPaste() || frame->editor()->canPaste();
1077 shouldEnable = frame->editor()->canDelete();
1086 shouldCheck = frame->editor()->selectionHasStyle(CSSPropertyWebkitTextDecorationsInEffect, "underline") != FalseTriState;
1087 shouldEnable = frame->editor()->canEditRichly();
1095 if (frame->editor()->isGrammarCheckingEnabled())
1101 shouldCheck = frame->editor()->selectionHasStyle(CSSPropertyFontStyle, "italic") != FalseTriState;
1102 shouldEnable = frame->editor()->canEditRichly();
1106 shouldCheck = frame->editor()->selectionHasStyle(CSSPropertyFontWeight, "bold") != FalseTriState;
1107 shouldEnable = frame->editor()->canEditRichly();
1115 if (frame->editor()->spellingPanelIsShowing())
1120 shouldEnable = frame->editor()->canEdit();
1126 shouldCheck = frame->editor()->isContinuousSpellCheckingEnabled();
1134 if (frame->editor()->substitutionsPanelIsShowing())
1138 shouldEnable = frame->editor()->canEdit();
1145 shouldEnable = frame->editor()->canEdit();
1149 shouldCheck = frame->editor()->isAutomaticSpellingCorrectionEnabled();
1154 shouldCheck = frame->editor()->smartInsertDeleteEnabled();
1159 shouldCheck = frame->editor()->isAutomaticQuoteSubstitutionEnabled();
1164 shouldCheck = frame->editor()->isAutomaticDashSubstitutionEnabled();
1169 shouldCheck = frame->editor()->isAutomaticLinkDetectionEnabled();
1174 shouldCheck = frame->editor()->isAutomaticTextReplacementEnabled();
1198 shouldEnable = frame->editor()->canEditRichly();