editor 4198 Source/core/dom/Document.cpp return frame->editor().command(commandName, userInterface ? CommandFromDOMWithUserInterface : CommandFromDOM); editor 116 Source/core/editing/CompositeEditCommand.cpp frame->editor().unappliedEditing(this); editor 136 Source/core/editing/CompositeEditCommand.cpp frame->editor().reappliedEditing(this); editor 199 Source/core/editing/CompositeEditCommand.cpp frame->editor().appliedEditing(this); editor 1389 Source/core/editing/EditingStyle.cpp if (!document->frame()->editor().shouldStyleWithCSS()) editor 94 Source/core/editing/Editor.cpp Editor::RevealSelectionScope::RevealSelectionScope(Editor* editor) editor 95 Source/core/editing/Editor.cpp : m_editor(editor) editor 108 Source/core/editing/EditorCommand.cpp frame.editor().applyStyleToSelection(style, action); editor 112 Source/core/editing/EditorCommand.cpp frame.editor().applyStyle(style); editor 167 Source/core/editing/EditorCommand.cpp if (frame.editor().behavior().shouldToggleStyleBasedOnStartOfSelection()) editor 168 Source/core/editing/EditorCommand.cpp styleIsPresent = frame.editor().selectionStartHasStyle(propertyID, onValue); editor 170 Source/core/editing/EditorCommand.cpp styleIsPresent = frame.editor().selectionHasStyle(propertyID, onValue) == TrueTriState; editor 183 Source/core/editing/EditorCommand.cpp frame.editor().applyParagraphStyleToSelection(style.get(), action); editor 187 Source/core/editing/EditorCommand.cpp frame.editor().applyParagraphStyle(style.get()); editor 228 Source/core/editing/EditorCommand.cpp if (frame.editor().behavior().shouldToggleStyleBasedOnStartOfSelection()) editor 229 Source/core/editing/EditorCommand.cpp return frame.editor().selectionStartHasStyle(propertyID, desiredValue) ? TrueTriState : FalseTriState; editor 230 Source/core/editing/EditorCommand.cpp return frame.editor().selectionHasStyle(propertyID, desiredValue); editor 237 Source/core/editing/EditorCommand.cpp return frame.editor().selectionStartCSSPropertyValue(propertyID); editor 283 Source/core/editing/EditorCommand.cpp frame.editor().copy(); editor 299 Source/core/editing/EditorCommand.cpp frame.editor().cut(); editor 306 Source/core/editing/EditorCommand.cpp frame.editor().setDefaultParagraphSeparator(EditorParagraphSeparatorIsDiv); editor 308 Source/core/editing/EditorCommand.cpp frame.editor().setDefaultParagraphSeparator(EditorParagraphSeparatorIsP); editor 318 Source/core/editing/EditorCommand.cpp frame.editor().performDelete(); editor 335 Source/core/editing/EditorCommand.cpp frame.editor().deleteWithDirection(DirectionBackward, CharacterGranularity, false, true); editor 342 Source/core/editing/EditorCommand.cpp frame.editor().deleteWithDirection(DirectionBackward, CharacterGranularity, false, true); editor 348 Source/core/editing/EditorCommand.cpp frame.editor().deleteWithDirection(DirectionForward, CharacterGranularity, false, true); editor 354 Source/core/editing/EditorCommand.cpp frame.editor().deleteWithDirection(DirectionBackward, LineBoundary, true, false); editor 360 Source/core/editing/EditorCommand.cpp frame.editor().deleteWithDirection(DirectionBackward, ParagraphBoundary, true, false); editor 368 Source/core/editing/EditorCommand.cpp frame.editor().deleteWithDirection(DirectionForward, LineBoundary, true, false); editor 376 Source/core/editing/EditorCommand.cpp frame.editor().deleteWithDirection(DirectionForward, ParagraphBoundary, true, false); editor 382 Source/core/editing/EditorCommand.cpp RefPtrWillBeRawPtr<Range> mark = frame.editor().mark().toNormalizedRange(); editor 384 Source/core/editing/EditorCommand.cpp bool selected = frame.selection().setSelectedRange(unionDOMRanges(mark.get(), frame.editor().selectedRange().get()).get(), DOWNSTREAM, FrameSelection::CloseTyping); editor 389 Source/core/editing/EditorCommand.cpp frame.editor().performDelete(); editor 390 Source/core/editing/EditorCommand.cpp frame.editor().setMark(frame.selection().selection()); editor 396 Source/core/editing/EditorCommand.cpp frame.editor().deleteWithDirection(DirectionBackward, WordGranularity, true, false); editor 402 Source/core/editing/EditorCommand.cpp frame.editor().deleteWithDirection(DirectionForward, WordGranularity, true, false); editor 408 Source/core/editing/EditorCommand.cpp return frame.editor().findString(value, true, false, true, false); editor 455 Source/core/editing/EditorCommand.cpp frame.editor().deleteWithDirection(DirectionForward, CharacterGranularity, false, true); editor 533 Source/core/editing/EditorCommand.cpp return targetFrame->eventHandler().handleTextInputEvent("\n", event, targetFrame->editor().canEditRichly() ? TextEventInputKeyboard : TextEventInputLineBreak); editor 601 Source/core/editing/EditorCommand.cpp frame.editor().applyStyle(style.get(), EditActionSetWritingDirection); editor 609 Source/core/editing/EditorCommand.cpp frame.editor().applyStyle(style.get(), EditActionSetWritingDirection); editor 618 Source/core/editing/EditorCommand.cpp frame.editor().applyStyle(style.get(), EditActionSetWritingDirection); editor 927 Source/core/editing/EditorCommand.cpp frame.editor().toggleOverwriteModeEnabled(); editor 933 Source/core/editing/EditorCommand.cpp frame.editor().paste(); editor 939 Source/core/editing/EditorCommand.cpp if (!frame.editor().behavior().supportsGlobalSelection()) editor 945 Source/core/editing/EditorCommand.cpp frame.editor().paste(); editor 952 Source/core/editing/EditorCommand.cpp frame.editor().pasteAsPlainText(); editor 967 Source/core/editing/EditorCommand.cpp frame.editor().redo(); editor 973 Source/core/editing/EditorCommand.cpp frame.editor().removeFormattingAndStyle(); editor 1030 Source/core/editing/EditorCommand.cpp RefPtrWillBeRawPtr<Range> mark = frame.editor().mark().toNormalizedRange(); editor 1031 Source/core/editing/EditorCommand.cpp RefPtrWillBeRawPtr<Range> selection = frame.editor().selectedRange(); editor 1045 Source/core/editing/EditorCommand.cpp frame.editor().setMark(frame.selection().selection()); editor 1057 Source/core/editing/EditorCommand.cpp frame.editor().setShouldStyleWithCSS(!equalIgnoringCase(value, "false")); editor 1063 Source/core/editing/EditorCommand.cpp frame.editor().setShouldStyleWithCSS(equalIgnoringCase(value, "false")); editor 1079 Source/core/editing/EditorCommand.cpp const VisibleSelection& mark = frame.editor().mark(); editor 1084 Source/core/editing/EditorCommand.cpp frame.editor().setMark(selection); editor 1100 Source/core/editing/EditorCommand.cpp frame.editor().transpose(); editor 1112 Source/core/editing/EditorCommand.cpp frame.editor().undo(); editor 1136 Source/core/editing/EditorCommand.cpp frame.editor().insertTextWithoutSendingTextEvent(frame.editor().killRing().yank(), false, 0); editor 1137 Source/core/editing/EditorCommand.cpp frame.editor().killRing().setToYankedState(); editor 1143 Source/core/editing/EditorCommand.cpp frame.editor().insertTextWithoutSendingTextEvent(frame.editor().killRing().yank(), true, 0); editor 1144 Source/core/editing/EditorCommand.cpp frame.editor().killRing().setToYankedState(); editor 1167 Source/core/editing/EditorCommand.cpp return frame->editor().client().canCopyCut(frame, defaultValue); editor 1177 Source/core/editing/EditorCommand.cpp return frame->editor().client().canPaste(frame, defaultValue); editor 1190 Source/core/editing/EditorCommand.cpp const VisibleSelection& selection = frame.editor().selectionForCommand(event); editor 1209 Source/core/editing/EditorCommand.cpp const VisibleSelection& selection = frame.editor().selectionForCommand(event); editor 1211 Source/core/editing/EditorCommand.cpp && frame.editor().mark().isCaretOrRange(); editor 1216 Source/core/editing/EditorCommand.cpp const VisibleSelection& selection = frame.editor().selectionForCommand(event); editor 1222 Source/core/editing/EditorCommand.cpp return frame.editor().canDHTMLCopy() || frame.editor().canCopy(); editor 1227 Source/core/editing/EditorCommand.cpp return frame.editor().canDHTMLCut() || frame.editor().canCut(); editor 1232 Source/core/editing/EditorCommand.cpp return frame.editor().selectionForCommand(event).rootEditableElement(); editor 1239 Source/core/editing/EditorCommand.cpp return frame.editor().canDelete(); editor 1263 Source/core/editing/EditorCommand.cpp return frame.editor().canPaste(); editor 1278 Source/core/editing/EditorCommand.cpp return frame.editor().canRedo(); editor 1283 Source/core/editing/EditorCommand.cpp return frame.editor().canUndo(); editor 1305 Source/core/editing/EditorCommand.cpp return frame.editor().selectionOrderedListState(); editor 1315 Source/core/editing/EditorCommand.cpp return frame.editor().shouldStyleWithCSS() ? TrueTriState : FalseTriState; editor 1350 Source/core/editing/EditorCommand.cpp return frame.editor().selectionUnorderedListState(); editor 1387 Source/core/editing/EditorCommand.cpp switch (frame.editor().defaultParagraphSeparator()) { editor 89 Source/core/editing/FrameSelection.cpp return !frame || frame->editor().behavior().shouldConsiderSelectionAsDirectional(); editor 282 Source/core/editing/FrameSelection.cpp m_frame->editor().respondToChangedSelection(oldSelection, options); editor 286 Source/core/editing/FrameSelection.cpp if (m_frame->editor().behavior().shouldCenterAlignWhenSelectionIsRevealed()) editor 581 Source/core/editing/FrameSelection.cpp if (m_frame && m_frame->editor().behavior().shouldSkipSpaceWhenMovingRight()) { editor 699 Source/core/editing/FrameSelection.cpp bool skipsSpaceWhenMovingRight = m_frame && m_frame->editor().behavior().shouldSkipSpaceWhenMovingRight(); editor 867 Source/core/editing/FrameSelection.cpp bool skipsSpaceWhenMovingRight = m_frame && m_frame->editor().behavior().shouldSkipSpaceWhenMovingRight(); editor 999 Source/core/editing/FrameSelection.cpp && m_frame && !m_frame->editor().behavior().shouldExtendSelectionByWordOrLineAcrossCaret()) { editor 1012 Source/core/editing/FrameSelection.cpp if (!m_frame || !m_frame->editor().behavior().shouldAlwaysGrowSelectionWhenExtendingToBoundary() || m_selection.isCaret() || !isBoundary(granularity)) editor 1520 Source/core/editing/FrameSelection.cpp return frame->editor().lastEditCommand() && frame->editor().lastEditCommand()->shouldStopCaretBlinking(); editor 82 Source/core/editing/InputMethodController.cpp return m_frame.editor(); editor 126 Source/core/editing/InputMethodController.cpp editor().insertText(text, 0); editor 158 Source/core/editing/InputMethodController.cpp if (!hasComposition() || editor().preventRevealSelection()) editor 181 Source/core/editing/InputMethodController.cpp Editor::RevealSelectionScope revealSelectionScope(&editor()); editor 229 Source/core/editing/InputMethodController.cpp Editor::RevealSelectionScope revealSelectionScope(&editor()); editor 346 Source/core/editing/InputMethodController.cpp Editor::RevealSelectionScope revealSelectionScope(&editor()); editor 391 Source/core/editing/InputMethodController.cpp if (!editor().canEdit()) editor 398 Source/core/editing/InputMethodController.cpp if (!editor().canEdit()) editor 107 Source/core/editing/InputMethodController.h Editor& editor() const; editor 144 Source/core/editing/InsertTextCommand.cpp } else if (document().frame()->editor().isOverwriteModeEnabled()) { editor 376 Source/core/editing/SpellChecker.cpp m_frame.editor().replaceSelectionWithText(autocorrectedString, false, false); editor 235 Source/core/editing/TypingCommand.cpp RefPtr<CompositeEditCommand> lastEditCommand = frame->editor().lastEditCommand(); editor 325 Source/core/editing/TypingCommand.cpp frame->editor().appliedEditing(this); editor 497 Source/core/editing/TypingCommand.cpp frame->editor().addToKillRing(selectionToDelete.toNormalizedRange().get(), false); editor 501 Source/core/editing/TypingCommand.cpp if (frame->editor().behavior().shouldUndoOfDeleteSelectText() && m_openedByBackwardDelete) editor 589 Source/core/editing/TypingCommand.cpp frame->editor().addToKillRing(selectionToDelete.toNormalizedRange().get(), false); editor 591 Source/core/editing/TypingCommand.cpp if (frame->editor().behavior().shouldUndoOfDeleteSelectText()) editor 783 Source/core/editing/htmlediting.cpp switch (document.frame()->editor().defaultParagraphSeparator()) { editor 1057 Source/core/frame/DOMWindow.cpp return m_frame->editor().findString(string, !backwards, caseSensitive, wrap, false); editor 316 Source/core/frame/LocalFrame.cpp LayoutRect rect = editor().firstRectForRange(previousCharacterRange.get()); editor 323 Source/core/frame/LocalFrame.cpp LayoutRect rect = editor().firstRectForRange(nextCharacterRange.get()); editor 79 Source/core/frame/LocalFrame.h Editor& editor() const; editor 197 Source/core/frame/LocalFrame.h inline Editor& LocalFrame::editor() const editor 606 Source/core/inspector/InspectorStyleSheet.cpp InspectorStyleTextEditor editor(&allProperties, text, newLineAndWhitespaceDelimiters()); editor 612 Source/core/inspector/InspectorStyleSheet.cpp editor.replaceProperty(index, propertyText); editor 614 Source/core/inspector/InspectorStyleSheet.cpp editor.insertProperty(index, propertyText, sourceData->ruleBodyRange.length()); editor 617 Source/core/inspector/InspectorStyleSheet.cpp return m_parentStyleSheet->setStyleText(m_styleId, editor.styleText()); editor 255 Source/core/loader/FrameLoader.cpp m_frame->editor().clear(); editor 888 Source/core/loader/FrameLoader.cpp m_frame->editor().clearLastEditCommand(); editor 442 Source/core/page/DragController.cpp Node* target = innerFrame->editor().findEventTargetFrom(VisibleSelection(m_page->dragCaretController().caretPosition())); editor 504 Source/core/page/DragController.cpp bool smartDelete = innerFrame->editor().smartInsertDeleteEnabled(); editor 473 Source/core/page/EventHandler.cpp (result.event().clickCount() == 2 && m_frame->editor().isSelectTrailingWhitespaceEnabled()) ? ShouldAppendTrailingWhitespace : DontAppendTrailingWhitespace); editor 481 Source/core/page/EventHandler.cpp (result.event().clickCount() == 2 && m_frame->editor().isSelectTrailingWhitespaceEnabled()) ? ShouldAppendTrailingWhitespace : DontAppendTrailingWhitespace); editor 589 Source/core/page/EventHandler.cpp if (!m_frame->editor().behavior().shouldConsiderSelectionAsDirectional()) { editor 1737 Source/core/page/EventHandler.cpp if (m_frame == focusFrame && m_frame->editor().behavior().supportsGlobalSelection()) editor 1738 Source/core/page/EventHandler.cpp return m_frame->editor().command("PasteGlobalSelection").execute(); editor 2802 Source/core/page/EventHandler.cpp else if (m_frame->editor().behavior().shouldSelectOnContextualMenuClick()) editor 2840 Source/core/page/EventHandler.cpp IntRect firstRect = m_frame->editor().firstRectForRange(selectionRange.get()); editor 3193 Source/core/page/EventHandler.cpp m_frame->editor().handleKeyboardEvent(event); editor 3209 Source/core/page/EventHandler.cpp m_frame->editor().handleKeyboardEvent(event); editor 3421 Source/core/page/EventHandler.cpp if (m_frame->editor().handleTextEvent(event)) editor 3453 Source/core/page/EventHandler.cpp if (!m_frame->editor().behavior().shouldNavigateBackOnBackspace()) editor 115 Source/core/page/TouchAdjustment.cpp if (node->renderer()->frame()->editor().behavior().shouldSelectOnContextualMenuClick()) editor 156 Source/core/page/TouchAdjustment.cpp if (textRenderer->frame()->editor().behavior().shouldSelectOnContextualMenuClick()) { editor 1289 Source/core/rendering/InlineTextBox.cpp if (renderer().frame()->editor().markedTextMatchesAreHighlighted()) { editor 3030 Source/core/rendering/RenderBlock.cpp bool moveCaretToBoundary = document().frame()->editor().behavior().shouldMoveCaretToHorizontalBoundaryWhenPastTopOrBottom(); editor 731 Source/core/rendering/svg/SVGInlineTextBox.cpp if (renderer().frame()->editor().markedTextMatchesAreHighlighted()) { editor 215 Source/core/testing/Internals.cpp if (page->mainFrame()->editor().isOverwriteModeEnabled()) editor 216 Source/core/testing/Internals.cpp page->mainFrame()->editor().toggleOverwriteModeEnabled(); editor 908 Source/core/testing/Internals.cpp document->frame()->editor().setMarkedTextMatchesAreHighlighted(highlight); editor 1518 Source/core/testing/Internals.cpp return document->frame()->editor().isOverwriteModeEnabled(); editor 1526 Source/core/testing/Internals.cpp document->frame()->editor().toggleOverwriteModeEnabled(); editor 198 Source/web/ContextMenuClientImpl.cpp if (toLocalFrame(m_webView->focusedWebCoreFrame())->editor().canUndo()) editor 200 Source/web/ContextMenuClientImpl.cpp if (toLocalFrame(m_webView->focusedWebCoreFrame())->editor().canRedo()) editor 202 Source/web/ContextMenuClientImpl.cpp if (toLocalFrame(m_webView->focusedWebCoreFrame())->editor().canCut()) editor 204 Source/web/ContextMenuClientImpl.cpp if (toLocalFrame(m_webView->focusedWebCoreFrame())->editor().canCopy()) editor 206 Source/web/ContextMenuClientImpl.cpp if (toLocalFrame(m_webView->focusedWebCoreFrame())->editor().canPaste()) editor 208 Source/web/ContextMenuClientImpl.cpp if (toLocalFrame(m_webView->focusedWebCoreFrame())->editor().canDelete()) editor 352 Source/web/ContextMenuClientImpl.cpp if (selectedFrame->editor().selectionHasStyle(CSSPropertyDirection, "ltr") != FalseTriState) editor 354 Source/web/ContextMenuClientImpl.cpp if (selectedFrame->editor().selectionHasStyle(CSSPropertyDirection, "rtl") != FalseTriState) editor 127 Source/web/TextFinder.cpp m_activeMatch = m_ownerFrame.frame()->editor().findStringAndScrollToVisible(searchText, m_activeMatch.get(), findOptions); editor 187 Source/web/TextFinder.cpp m_ownerFrame.frame()->editor().setMarkedTextMatchesAreHighlighted(false); editor 207 Source/web/TextFinder.cpp if (frame && frame->page() && frame->editor().markedTextMatchesAreHighlighted()) editor 335 Source/web/TextFinder.cpp m_ownerFrame.frame()->editor().setMarkedTextMatchesAreHighlighted(true); editor 1049 Source/web/WebFrameImpl.cpp frame()->editor().replaceSelectionWithText(text, selectReplacement, smartReplace); editor 1057 Source/web/WebFrameImpl.cpp frame()->editor().insertText(text, 0); editor 1091 Source/web/WebFrameImpl.cpp IntRect intRect = frame()->editor().firstRectForRange(range.get()); editor 1139 Source/web/WebFrameImpl.cpp if (!frame()->editor().deleteWithDirection(DirectionForward, ParagraphBoundary, true, false)) editor 1140 Source/web/WebFrameImpl.cpp frame()->editor().deleteWithDirection(DirectionForward, CharacterGranularity, true, false); editor 1142 Source/web/WebFrameImpl.cpp frame()->editor().indent(); editor 1144 Source/web/WebFrameImpl.cpp frame()->editor().outdent(); editor 1146 Source/web/WebFrameImpl.cpp result = frame()->editor().command(AtomicString("BackwardDelete")).execute(); editor 1148 Source/web/WebFrameImpl.cpp result = frame()->editor().command(AtomicString("ForwardDelete")).execute(); editor 1155 Source/web/WebFrameImpl.cpp result = frame()->editor().command(command).execute(); editor 1170 Source/web/WebFrameImpl.cpp if (!frame()->editor().canEdit() && webName == "moveToBeginningOfDocument") editor 1173 Source/web/WebFrameImpl.cpp if (!frame()->editor().canEdit() && webName == "moveToEndOfDocument") editor 1181 Source/web/WebFrameImpl.cpp return frame()->editor().command(webName).execute(value); editor 1187 Source/web/WebFrameImpl.cpp return frame()->editor().command(name).isEnabled(); editor 1224 Source/web/WebFrameImpl.cpp frame()->editor().replaceSelectionWithText(text, false, false); editor 1333 Source/web/WebFrameImpl.cpp if (!frame()->editor().canEdit()) editor 1941 Source/web/WebViewImpl.cpp if (!focused->editor().canEdit() && !inputMethodController.hasComposition()) editor 2045 Source/web/WebViewImpl.cpp if (!focused->editor().canEdit()) editor 2173 Source/web/WebViewImpl.cpp anchor = frame->editor().firstRectForRange(range.get()); editor 2180 Source/web/WebViewImpl.cpp focus = frame->editor().firstRectForRange(range.get()); editor 2308 Source/web/WebViewImpl.cpp Editor& editor = focused->editor(); editor 2309 Source/web/WebViewImpl.cpp if (!editor.canEdit()) editor 2314 Source/web/WebViewImpl.cpp editor.setBaseWritingDirection(NaturalWritingDirection); editor 2318 Source/web/WebViewImpl.cpp editor.setBaseWritingDirection(LeftToRightWritingDirection); editor 2322 Source/web/WebViewImpl.cpp editor.setBaseWritingDirection(RightToLeftWritingDirection); editor 3039 Source/web/WebViewImpl.cpp m_page->mainFrame()->editor().copyImage(result); editor 4384 Source/web/tests/WebFrameTest.cpp frame->frame()->editor().replaceSelectionWithText("A", false, false);