Home
last modified time | relevance | path

Searched refs:editor (Results 1 – 25 of 182) sorted by relevance

12345678

/external/webkit/WebCore/page/
DContextMenuController.cpp175 frame->editor()->copyURL(result.absoluteLinkURL(), result.textContent()); in contextMenuItemSelected()
187 frame->editor()->copyImage(result); in contextMenuItemSelected()
198 frame->editor()->copy(); in contextMenuItemSelected()
215 frame->editor()->cut(); in contextMenuItemSelected()
218 frame->editor()->paste(); in contextMenuItemSelected()
222 frame->editor()->performDelete(); in contextMenuItemSelected()
225 frame->editor()->command("SelectAll").execute(); in contextMenuItemSelected()
230 …if (frame->editor()->shouldInsertText(item->title(), frame->selection()->toNormalizedRange().get()… in contextMenuItemSelected()
238 frame->editor()->ignoreSpelling(); in contextMenuItemSelected()
241 frame->editor()->learnSpelling(); in contextMenuItemSelected()
[all …]
DFrame.cpp362 Editor* Frame::editor() const in editor() function in WebCore::Frame
848 …return editor()->client()->shouldChangeSelectedRange(oldSelection.toNormalizedRange().get(), newSe… in shouldChangeSelection()
854 return editor()->client()->shouldDeleteRange(selection.toNormalizedRange().get()); in shouldDeleteSelection()
1024 if (editor()->client()) in textFieldDidBeginEditing()
1025 editor()->client()->textFieldDidBeginEditing(e); in textFieldDidBeginEditing()
1030 if (editor()->client()) in textFieldDidEndEditing()
1031 editor()->client()->textFieldDidEndEditing(e); in textFieldDidEndEditing()
1036 if (editor()->client()) in textDidChangeInTextField()
1037 editor()->client()->textDidChangeInTextField(e); in textDidChangeInTextField()
1042 if (editor()->client()) in doTextFieldCommandFromEvent()
[all …]
/external/webkit/WebKit/qt/WebCoreSupport/
DEditorClientQt.cpp226 if (!frame->editor()->ignoreCompositionSelectionChange()) in respondToChangedSelection()
260 …if (m_inUndoRedo || (frame && !frame->editor()->lastEditCommand() /* HACK!! Don't recreate undos *… in registerCommandForUndo()
379 if (cmd && frame->editor()->command(cmd).isTextInsertion() in handleKeyboardEvent()
394 frame->editor()->command("InsertLineBreak").execute(); in handleKeyboardEvent()
396 frame->editor()->command("InsertNewline").execute(); in handleKeyboardEvent()
400 frame->editor()->deleteWithDirection(SelectionController::BACKWARD, in handleKeyboardEvent()
404 frame->editor()->deleteWithDirection(SelectionController::FORWARD, in handleKeyboardEvent()
409 frame->editor()->command("MoveLeftAndModifySelection").execute(); in handleKeyboardEvent()
411 frame->editor()->command("MoveLeft").execute(); in handleKeyboardEvent()
415 frame->editor()->command("MoveRightAndModifySelection").execute(); in handleKeyboardEvent()
[all …]
/external/webkit/WebKit/haiku/WebCoreSupport/
DEditorClientHaiku.cpp257 frame->editor()->deleteWithDirection(SelectionController::BACKWARD, in handleKeyboardEvent()
262 frame->editor()->deleteWithDirection(SelectionController::FORWARD, in handleKeyboardEvent()
291 frame->editor()->command("MoveUpByPageAndModifyCaret"); in handleKeyboardEvent()
294 frame->editor()->command("MoveDownByPageAndModifyCaret"); in handleKeyboardEvent()
297 frame->editor()->command("InsertLineBreak"); in handleKeyboardEvent()
309 frame->editor()->insertText(kevent->text(), event); in handleKeyboardEvent()
313 frame->editor()->command("SelectAll"); in handleKeyboardEvent()
316 frame->editor()->command("ToggleBold"); in handleKeyboardEvent()
319 frame->editor()->command("Copy"); in handleKeyboardEvent()
322 frame->editor()->command("ToggleItalic"); in handleKeyboardEvent()
[all …]
/external/webkit/WebKitTools/Scripts/
Dcommit-log-editor63 my $editor = $ENV{SVN_LOG_EDITOR};
64 if (!$editor) {
65 $editor = $ENV{CVS_LOG_EDITOR};
67 if (!$editor) {
69 $editor = $builtEditorApplication if -x $builtEditorApplication;
71 if (!$editor) {
73 $editor = $builtEditorApplication if -x $builtEditorApplication;
75 if (!$editor) {
77 $editor = $installedEditorApplication if -x $installedEditorApplication;
79 if (!$editor) {
[all …]
/external/webkit/WebCore/platform/
DContextMenu.cpp396 …Vector<String> guesses = frame->editor()->guessesForMisspelledOrUngrammaticalSelection(misspelling… in populate()
498 bool shouldShowFontMenu = frame->editor()->canEditRichly(); in populate()
521 …clusionBehavior() == TextDirectionSubmenuAutomaticallyIncluded && frame->editor()->hasBidiSelectio… in populate()
573 shouldEnable = frame->editor()->canEdit(); in checkOrEnableIfNeeded()
585 shouldCheck = frame->editor()->selectionHasStyle(style.get()) != FalseTriState; in checkOrEnableIfNeeded()
590 Editor::Command command = frame->editor()->command("MakeTextWritingDirectionNatural"); in checkOrEnableIfNeeded()
596 … Editor::Command command = frame->editor()->command("MakeTextWritingDirectionLeftToRight"); in checkOrEnableIfNeeded()
602 … Editor::Command command = frame->editor()->command("MakeTextWritingDirectionRightToLeft"); in checkOrEnableIfNeeded()
608 shouldEnable = frame->editor()->canDHTMLCopy() || frame->editor()->canCopy(); in checkOrEnableIfNeeded()
611 shouldEnable = frame->editor()->canDHTMLCut() || frame->editor()->canCut(); in checkOrEnableIfNeeded()
[all …]
/external/webkit/WebKit/wx/
DWebFrame.cpp280 if (m_impl->frame && m_impl->frame->editor() && CanUndo()) in Undo()
281 return m_impl->frame->editor()->undo(); in Undo()
286 if (m_impl->frame && m_impl->frame->editor() && CanRedo()) in Redo()
287 return m_impl->frame->editor()->redo(); in Redo()
292 if (m_impl->frame && m_impl->frame->editor()) in CanUndo()
293 return m_impl->frame->editor()->canUndo(); in CanUndo()
300 if (m_impl->frame && m_impl->frame->editor()) in CanRedo()
301 return m_impl->frame->editor()->canRedo(); in CanRedo()
357 return (m_impl->frame->editor()->canCopy() || m_impl->frame->editor()->canDHTMLCopy()); in CanCopy()
365 m_impl->frame->editor()->copy(); in Copy()
[all …]
/external/webkit/WebCore/editing/
DEditorCommand.cpp101 frame->editor()->applyStyleToSelection(style, action); in applyCommandToFrame()
105 frame->editor()->applyStyle(style); in applyCommandToFrame()
169 styleIsPresent = frame->editor()->selectionStartHasStyle(style.get()); in executeToggleStyle()
171 styleIsPresent = frame->editor()->selectionHasStyle(style.get()) == TrueTriState; in executeToggleStyle()
184 frame->editor()->applyParagraphStyleToSelection(style.get(), action); in executeApplyParagraphStyle()
188 frame->editor()->applyParagraphStyle(style.get()); in executeApplyParagraphStyle()
224 …if (!frame->editor()->client()->shouldChangeSelectedRange(oldRange.get(), newRange.get(), affinity… in expandSelectionToGranularity()
234 return frame->editor()->selectionHasStyle(style.get()); in stateStyle()
245 …WritingDirection selectionDirection = frame->editor()->textDirectionForSelection(hasNestedOrMultip… in stateTextWritingDirection()
286 frame->editor()->copy(); in executeCopy()
[all …]
DTypingCommand.cpp74 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in deleteSelection()
92 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in deleteKeyPressed()
111 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in forwardDeleteKeyPressed()
159 RefPtr<EditCommand> lastEditCommand = frame->editor()->lastEditCommand(); in insertText()
193 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in insertLineBreak()
209 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in insertParagraphSeparatorInQuotedContent()
225 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in insertParagraphSeparator()
289 if (!document()->frame()->editor()->isContinuousSpellCheckingEnabled() in markMisspellingsAfterTyping()
290 && !document()->frame()->editor()->isAutomaticQuoteSubstitutionEnabled() in markMisspellingsAfterTyping()
291 && !document()->frame()->editor()->isAutomaticLinkDetectionEnabled() in markMisspellingsAfterTyping()
[all …]
DEditCommand.cpp50 …Node(m_document->frame()->selection()->selection(), m_document->frame()->editor()->deleteButtonCon… in EditCommand()
89 DeleteButtonController* deleteButtonController = frame->editor()->deleteButtonController(); in apply()
99 frame->editor()->appliedEditing(this); in apply()
117 DeleteButtonController* deleteButtonController = frame->editor()->deleteButtonController(); in unapply()
124 frame->editor()->unappliedEditing(this); in unapply()
142 DeleteButtonController* deleteButtonController = frame->editor()->deleteButtonController(); in reapply()
149 frame->editor()->reappliedEditing(this); in reapply()
/external/quake/quake/src/QW/client/
Dsys_linux.c265 char *editor; in Sys_EditFile() local
270 editor = getenv("VISUAL"); in Sys_EditFile()
271 if (!editor) in Sys_EditFile()
272 editor = getenv("EDITOR"); in Sys_EditFile()
273 if (!editor) in Sys_EditFile()
274 editor = getenv("EDIT"); in Sys_EditFile()
275 if (!editor) in Sys_EditFile()
276 editor = "vi"; in Sys_EditFile()
277 sprintf(cmd, "xterm -e %s %s", editor, filename); in Sys_EditFile()
Dsys_android.c270 char *editor; in Sys_EditFile() local
275 editor = getenv("VISUAL"); in Sys_EditFile()
276 if (!editor) in Sys_EditFile()
277 editor = getenv("EDITOR"); in Sys_EditFile()
278 if (!editor) in Sys_EditFile()
279 editor = getenv("EDIT"); in Sys_EditFile()
280 if (!editor) in Sys_EditFile()
281 editor = "vi"; in Sys_EditFile()
282 sprintf(cmd, "xterm -e %s %s", editor, filename); in Sys_EditFile()
/external/quake/quake/src/WinQuake/
Dsys_linux.cpp263 char *editor; in Sys_EditFile() local
268 editor = getenv("VISUAL"); in Sys_EditFile()
269 if (!editor) in Sys_EditFile()
270 editor = getenv("EDITOR"); in Sys_EditFile()
271 if (!editor) in Sys_EditFile()
272 editor = getenv("EDIT"); in Sys_EditFile()
273 if (!editor) in Sys_EditFile()
274 editor = "vi"; in Sys_EditFile()
275 sprintf(cmd, "xterm -e %s %s", editor, filename); in Sys_EditFile()
Dsys_android.cpp304 const char *editor; in Sys_EditFile() local
309 editor = getenv("VISUAL"); in Sys_EditFile()
310 if (!editor) in Sys_EditFile()
311 editor = getenv("EDITOR"); in Sys_EditFile()
312 if (!editor) in Sys_EditFile()
313 editor = getenv("EDIT"); in Sys_EditFile()
314 if (!editor) in Sys_EditFile()
315 editor = "vi"; in Sys_EditFile()
316 sprintf(cmd, "xterm -e %s %s", editor, filename); in Sys_EditFile()
/external/webkit/WebKit/chromium/src/
DWebViewImpl.cpp432 Editor* editor = focused->editor(); in mouseUp() local
436 editor->command(AtomicString("Paste")).execute(); in mouseUp()
639 if (focusedFrame->editor() && focusedFrame->editor()->canEdit() && start.node()) { in sendContextMenuEvent()
997 Editor* editor = focusedFrame->editor(); in setFocus() local
998 if (editor && editor->hasComposition()) in setFocus()
999 editor->confirmComposition(); in setFocus()
1014 Editor* editor = focused->editor(); in handleCompositionEvent() local
1015 if (!editor) in handleCompositionEvent()
1017 if (!editor->canEdit()) { in handleCompositionEvent()
1021 if (!editor->hasComposition()) in handleCompositionEvent()
[all …]
DContextMenuClientImpl.cpp200 if (m_webView->focusedWebCoreFrame()->editor()->isContinuousSpellCheckingEnabled()) { in getCustomMenuFromDefaultItems()
215 if (selectedFrame->editor()->selectionHasStyle(style.get()) != FalseTriState) in getCustomMenuFromDefaultItems()
218 if (selectedFrame->editor()->selectionHasStyle(style.get()) != FalseTriState) in getCustomMenuFromDefaultItems()
230 if (m_webView->focusedWebCoreFrame()->editor()->canUndo()) in getCustomMenuFromDefaultItems()
232 if (m_webView->focusedWebCoreFrame()->editor()->canRedo()) in getCustomMenuFromDefaultItems()
234 if (m_webView->focusedWebCoreFrame()->editor()->canCut()) in getCustomMenuFromDefaultItems()
236 if (m_webView->focusedWebCoreFrame()->editor()->canCopy()) in getCustomMenuFromDefaultItems()
238 if (m_webView->focusedWebCoreFrame()->editor()->canPaste()) in getCustomMenuFromDefaultItems()
240 if (m_webView->focusedWebCoreFrame()->editor()->canDelete()) in getCustomMenuFromDefaultItems()
DWebFrameImpl.cpp931 frame()->editor()->insertText(text, 0); in insertText()
937 Editor* editor = frame()->editor(); in setMarkedText() local
939 editor->confirmComposition(text); in setMarkedText()
942 editor->setComposition(text, decorations, location, length); in setMarkedText()
947 frame()->editor()->confirmCompositionWithoutDisturbingSelection(); in unmarkText()
952 return frame()->editor()->hasComposition(); in hasMarkedText()
957 return frame()->editor()->compositionRange(); in markedRange()
983 Editor* editor = frame()->editor(); in executeCommand() local
984 if (!editor->deleteWithDirection(SelectionController::FORWARD, in executeCommand()
988 editor->deleteWithDirection(SelectionController::FORWARD, in executeCommand()
[all …]
DSuggestionsPopupMenuClient.cpp65 EditorClientImpl* editor = in valueChanged() local
67 ASSERT(editor); in valueChanged()
68 editor->onAutofillSuggestionAccepted( in valueChanged()
DEditorClientImpl.cpp122 const Editor* editor = frame->editor(); in shouldSpellcheckByDefault() local
123 if (!editor) in shouldSpellcheckByDefault()
125 if (editor->spellCheckingEnabledInFocusedNode()) in shouldSpellcheckByDefault()
555 Editor::Command command = frame->editor()->command(commandName); in handleEditingKeyboardEvent()
617 if (!frame->editor()->canEdit()) in handleEditingKeyboardEvent()
620 return frame->editor()->insertText(evt->keyEvent()->text(), evt); in handleEditingKeyboardEvent()
/external/webkit/WebKit/gtk/WebCoreSupport/
DEditorClientGtk.cpp199 if (targetFrame->editor()->ignoreCompositionSelectionChange()) in respondToChangedSelection()
213 if (!targetFrame->editor()->hasComposition()) in respondToChangedSelection()
218 if (!targetFrame->editor()->getCompositionSelection(start, end)) { in respondToChangedSelection()
221 targetFrame->editor()->confirmCompositionWithoutDisturbingSelection(); in respondToChangedSelection()
455 …if (!frame->editor()->canEdit() && !(frame->settings() && frame->settings()->caretBrowsingEnabled(… in handleKeyboardEvent()
460 Editor::Command command = frame->editor()->command(editorCommandString); in handleKeyboardEvent()
483 frame->editor()->confirmComposition(compositionString); in handleKeyboardEvent()
496 frame->editor()->setComposition(preeditString, underlines, 0, 0); in handleKeyboardEvent()
511 if (frame->editor()->insertText(platformEvent->text(), event)) in handleKeyboardEvent()
520 if (!targetFrame || !targetFrame->editor()->canEdit()) in handleInputMethodKeydown()
/external/webkit/WebKit/qt/Api/
Dqwebpage.cpp584 WebCore::Editor *editor = page->focusController()->focusedOrMainFrame()->editor(); in updateAction() local
614 enabled = editor->canEdit(); in updateAction()
623 Editor::Command command = editor->command(commandName); in updateAction()
857 … if (focusFrame && (focusFrame->editor()->canCopy() || focusFrame->editor()->canDHTMLCopy())) { in handleClipboard()
858 focusFrame->editor()->copy(); in handleClipboard()
862 … if (focusFrame && (focusFrame->editor()->canPaste() || focusFrame->editor()->canDHTMLPaste())) { in handleClipboard()
863 focusFrame->editor()->paste(); in handleClipboard()
1239 WebCore::Editor *editor = frame->editor(); in inputMethodEvent() local
1241 if (!editor->canEdit()) { in inputMethodEvent()
1290 editor->confirmComposition(ev->commitString()); in inputMethodEvent()
[all …]
/external/webkit/WebKitTools/Scripts/webkitpy/
Duser.py44 editor = os.environ.get("EDITOR") or "vi"
45 args = shlex.split(editor)
/external/webkit/WebKit/win/
DWebView.cpp1657 return frame->editor()->command("SelectAll").execute(); in execCommand()
1659 return frame->editor()->command("Undo").execute(); in execCommand()
1661 return frame->editor()->command("Redo").execute(); in execCommand()
1808 Editor::Command command = frame->editor()->command(interpretKeyEvent(evt)); in handleEditingKeyboardEvent()
1824 return frame->editor()->insertText(evt->keyEvent()->text(), evt); in handleEditingKeyboardEvent()
3264 m_page->focusController()->focusedOrMainFrame()->editor()->command(name).execute(value); in executeCoreCommandByName()
4071 Editor* editor = m_page->focusController()->focusedOrMainFrame()->editor(); in cutEnabled() local
4072 *enabled = editor->canCut() || editor->canDHTMLCut(); in cutEnabled()
4079 Editor* editor = m_page->focusController()->focusedOrMainFrame()->editor(); in copyEnabled() local
4080 *enabled = editor->canCopy() || editor->canDHTMLCopy(); in copyEnabled()
[all …]
/external/webkit/WebKit/android/jni/
DWebCoreJniOnLoad.cpp190 EditorClientAndroid* editor = new EditorClientAndroid; in benchmark() local
193 editor, in benchmark()
198 editor->setPage(page); in benchmark()
/external/webkit/WebKit/gtk/webkit/
Dwebkitwebview.cpp548 Editor* editor = webView->priv->corePage->focusController()->focusedOrMainFrame()->editor(); in webkit_web_view_button_press_event() local
549 result = result || editor->canPaste() || editor->canDHTMLPaste(); in webkit_web_view_button_press_event()
550 editor->paste(); in webkit_web_view_button_press_event()
565 if (focusedFrame && focusedFrame->editor()->canEdit()) { in webkit_web_view_button_release_event()
921 frame->editor()->command("SelectAll").execute();
927 frame->editor()->command("Cut").execute();
933 frame->editor()->command("Copy").execute();
939 frame->editor()->command("Undo").execute();
945 frame->editor()->command("Redo").execute();
1004 frame->editor()->command("Paste").execute();
[all …]

12345678