Home | History | Annotate | Download | only in WebView

Lines Matching refs:editor

86 #import <WebCore/Editor.h>
903 coreFrame->editor()->pasteAsFragment(core(fragment), [self _canSmartReplaceWithPasteboard:pasteboard], false);
911 coreFrame->editor()->pasteAsFragment(core(fragment), [self _canSmartReplaceWithPasteboard:pasteboard], false);
916 coreFrame->editor()->pasteAsFragment(core(fragment), [self _canSmartReplaceWithPasteboard:pasteboard], false);
1020 return coreFrame && coreFrame->editor()->shouldDeleteRange(core(range));
1841 return coreFrame && coreFrame->editor()->canEdit();
1847 return coreFrame && coreFrame->editor()->canEditRichly();
1907 return coreFrame ? kit(coreFrame->editor()->insertOrderedList().get()) : nil;
1913 return coreFrame ? kit(coreFrame->editor()->insertUnorderedList().get()) : nil;
1919 return coreFrame && coreFrame->editor()->canIncreaseSelectionListLevel();
1925 return coreFrame && coreFrame->editor()->canDecreaseSelectionListLevel();
1931 return coreFrame ? kit(coreFrame->editor()->increaseSelectionListLevel().get()) : nil;
1937 return coreFrame ? kit(coreFrame->editor()->increaseSelectionListLevelOrdered().get()) : nil;
1943 return coreFrame ? kit(coreFrame->editor()->increaseSelectionListLevelUnordered().get()) : nil;
1950 coreFrame->editor()->decreaseSelectionListLevel();
2445 // Map selectors into Editor command names.
2446 // This is not needed for any selectors that have the same name as the Editor command.
2471 // No need to capitalize the command name since Editor command names are
2480 - (Editor::Command)coreCommandBySelector:(SEL)selector
2484 return Editor::Command();
2485 return coreFrame->editor()->command(commandNameForSelector(selector));
2488 - (Editor::Command)coreCommandByName:(const char*)name
2492 return Editor::Command();
2493 return coreFrame->editor()->command(name);
2508 // These commands are forwarded to the Editor object in WebCore.
2720 [menuItem setState:frame->editor()->selectionHasStyle(CSSPropertyDirection, direction)];
2737 [menuItem setTitle:frame->editor()->selectionHasStyle(CSSPropertyDirection, "rtl")
2768 return frame && (frame->editor()->canDHTMLPaste() || frame->editor()->canPaste());
2771 return frame && (frame->editor()->canDHTMLPaste()
2772 || (frame->editor()->canPaste() && frame->selection()->isContentRichlyEditable()));
2847 Editor::Command command = [self coreCommandBySelector:action];
3831 frame->editor()->setStartNewKillRingSequence(true);
4255 attributes:coreFrame ? coreFrame->editor()->fontAttributesForSelectionStart() : nil];
4382 coreFrame->editor()->applyStyleToSelection(core(style), undoAction);
4388 coreFrame->editor()->applyParagraphStyleToSelection(core(style), undoAction);
4709 coreFrame->editor()->applyStyle(core(style), [self _undoActionFromColorPanelWithSelector:selector]);
4793 coreFrame->editor()->advanceToNextMisspelling();
4817 coreFrame->editor()->advanceToNextMisspelling(true);
4885 switch (coreFrame->editor()->baseWritingDirectionForSelectionStart()) {
4899 coreFrame->editor()->setBaseWritingDirection(direction);
4916 coreFrame->editor()->setBaseWritingDirection(writingDirection == NSWritingDirectionLeftToRight ? LeftToRightWritingDirection : RightToLeftWritingDirection);
4942 coreFrame->editor()->setBaseWritingDirection(direction == NSWritingDirectionLeftToRight ? LeftToRightWritingDirection : RightToLeftWritingDirection);
5143 coreFrame->editor()->setStartNewKillRingSequence(true);
5162 if (const SimpleFontData* fd = coreFrame->editor()->fontForSelection(multipleFonts))
5525 // Are there commands that could just cause text insertion if executed via Editor?
5856 NSRange result = [webFrame _convertToNSRange:coreFrame->editor()->compositionRange().get()];
5908 BOOL result = coreFrame && coreFrame->editor()->hasComposition();
5913 result = coreFrame->editor()->hasComposition();
5935 coreFrame->editor()->confirmComposition();
6003 coreFrame->editor()->setComposition(text, underlines, newSelRange.location, NSMaxRange(newSelRange));
6021 bool isFromInputMethod = coreFrame && coreFrame->editor()->hasComposition();
6035 Editor::Command command = [self coreCommandBySelector:selector];
6075 bool isFromInputMethod = coreFrame && coreFrame->editor()->hasComposition();
6104 if (!coreFrame || !coreFrame->editor()->canEdit())
6113 if (!coreFrame->editor()->hasComposition()) {
6116 eventHandled = coreFrame->editor()->insertText(eventText, event);
6119 coreFrame->editor()->confirmComposition(eventText);
6174 if (!coreFrame->editor()->hasComposition())
6177 if (coreFrame->editor()->ignoreCompositionSelectionChange())
6182 if (coreFrame->editor()->getCompositionSelection(start, end))
6185 coreFrame->editor()->confirmCompositionWithoutDisturbingSelection();
6351 return coreFrame->editor()->countMatchesForText(string, core(range), coreOptions(options), limit, markMatches);
6359 coreFrame->editor()->setMarkedTextMatchesAreHighlighted(newValue);
6365 return coreFrame && coreFrame->editor()->markedTextMatchesAreHighlighted();
6401 return coreFrame && coreFrame->editor()->findString(string, coreOptions(options));