Home
last modified time | relevance | path

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

12345678910>>...14

/external/webkit/Tools/Scripts/
Dcommit-log-editor67 my $editor = $ENV{SVN_LOG_EDITOR};
68 $editor = $ENV{CVS_LOG_EDITOR} if !$editor;
69 $editor = "" if $editor && isCommitLogEditor($editor);
72 if (!$editor) {
75 $editor = $builtEditorApplication;
79 if (!$editor) {
82 $editor = $builtEditorApplication;
86 if (!$editor) {
89 $editor = $builtEditorApplication;
94 $editor = $ENV{EDITOR} if !$editor;
[all …]
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_editor_gtk_unittest.cc97 BookmarkEditorGtk editor(NULL, profile_.get(), NULL, in TEST_F() local
103 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_); in TEST_F()
137 BookmarkEditorGtk editor(NULL, profile_.get(), NULL, in TEST_F() local
140 gtk_entry_set_text(GTK_ENTRY(editor.name_entry_), "new_a"); in TEST_F()
143 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_); in TEST_F()
145 editor.ApplyEdits(&bookmark_bar_node); in TEST_F()
157 BookmarkEditorGtk editor(NULL, profile_.get(), NULL, in TEST_F() local
160 gtk_entry_set_text(GTK_ENTRY(editor.url_entry_), in TEST_F()
164 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_); in TEST_F()
166 editor.ApplyEdits(&bookmark_bar_node); in TEST_F()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/android/content/
DTestSharedPreferencesTest.java24 private SharedPreferences.Editor editor; field in TestSharedPreferencesTest
32 editor = sharedPreferences.edit(); in setUp()
33 editor.putBoolean("boolean", true); in setUp()
34 editor.putFloat("float", 1.1f); in setUp()
35 editor.putInt("int", 2); in setUp()
36 editor.putLong("long", 3l); in setUp()
37 editor.putString("string", "foobar"); in setUp()
42 editor.commit(); in commit_shouldStoreValues()
54 editor.commit(); in getAll_shouldReturnAllValues()
65 editor.remove("deleteMe"); in commit_shouldRemoveValuesThenSetValues()
[all …]
/external/webkit/Source/WebCore/page/
DContextMenuController.cpp197 frame->editor()->copyURL(m_hitTestResult.absoluteLinkURL(), m_hitTestResult.textContent()); in contextMenuItemSelected()
209 frame->editor()->copyImage(m_hitTestResult); in contextMenuItemSelected()
213 frame->editor()->copyURL(m_hitTestResult.absoluteImageURL(), m_hitTestResult.textContent()); in contextMenuItemSelected()
220 frame->editor()->copyURL(m_hitTestResult.absoluteMediaURL(), m_hitTestResult.textContent()); in contextMenuItemSelected()
246 frame->editor()->copy(); in contextMenuItemSelected()
263 frame->editor()->command("Cut").execute(); in contextMenuItemSelected()
266 frame->editor()->command("Paste").execute(); in contextMenuItemSelected()
270 frame->editor()->performDelete(); in contextMenuItemSelected()
275 frame->editor()->command("SelectAll").execute(); in contextMenuItemSelected()
279 ASSERT(frame->editor()->selectedText().length()); in contextMenuItemSelected()
[all …]
/external/webkit/Source/WebKit/haiku/WebCoreSupport/
DEditorClientHaiku.cpp260 frame->editor()->deleteWithDirection(DirectionBackward, in handleKeyboardEvent()
265 frame->editor()->deleteWithDirection(DirectionForward, in handleKeyboardEvent()
294 frame->editor()->command("MoveUpByPageAndModifyCaret"); in handleKeyboardEvent()
297 frame->editor()->command("MoveDownByPageAndModifyCaret"); in handleKeyboardEvent()
300 frame->editor()->command("InsertLineBreak"); in handleKeyboardEvent()
312 frame->editor()->insertText(kevent->text(), event); in handleKeyboardEvent()
316 frame->editor()->command("SelectAll"); in handleKeyboardEvent()
319 frame->editor()->command("ToggleBold"); in handleKeyboardEvent()
322 frame->editor()->command("Copy"); in handleKeyboardEvent()
325 frame->editor()->command("ToggleItalic"); in handleKeyboardEvent()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DSetPreferencesActivity.java63 SharedPreferences.Editor editor = prefs.edit(); in onDialogClosed() local
64 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_ROW); in onDialogClosed()
65 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_INDEX); in onDialogClosed()
66 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_COMPLETED); in onDialogClosed()
67 editor.remove(PreferenceConstants.PREFERENCE_LINEAR_MODE); in onDialogClosed()
68 editor.remove(PreferenceConstants.PREFERENCE_TOTAL_GAME_TIME); in onDialogClosed()
69 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_COLLECTED); in onDialogClosed()
70 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_TOTAL); in onDialogClosed()
71 editor.remove(PreferenceConstants.PREFERENCE_ROBOTS_DESTROYED); in onDialogClosed()
72 editor.remove(PreferenceConstants.PREFERENCE_DIFFICULTY); in onDialogClosed()
[all …]
DMainMenuActivity.java221 SharedPreferences.Editor editor = prefs.edit(); in onResume() local
222 editor.putBoolean(PreferenceConstants.PREFERENCE_CLICK_ATTACK, false); in onResume()
223 editor.commit(); in onResume()
226 SharedPreferences.Editor editor = prefs.edit(); in onResume() local
231 editor.putBoolean(PreferenceConstants.PREFERENCE_SCREEN_CONTROLS, true); in onResume()
235 editor.putBoolean(PreferenceConstants.PREFERENCE_TILT_CONTROLS, true); in onResume()
238 editor.commit(); in onResume()
260 SharedPreferences.Editor editor = prefs.edit(); in onResume() local
261 editor.putBoolean(PreferenceConstants.PREFERENCE_SAFE_MODE, true); in onResume()
262 editor.commit(); in onResume()
[all …]
/external/webkit/Source/WebKit/wx/
DWebFrame.cpp245 return m_impl->frame->editor()->command(command).execute(parameter); in ExecuteEditCommand()
251 WebCore::TriState state = m_impl->frame->editor()->command(command).state(); in GetEditCommandState()
266 return m_impl->frame->editor()->command(command).value(); in GetEditCommandValue()
275 …return m_impl->frame->editor()->findString(string, forward, caseSensitive, wrapSelection, startInS… in FindString()
336 if (m_impl->frame && m_impl->frame->editor() && CanUndo()) in Undo()
337 return m_impl->frame->editor()->undo(); in Undo()
342 if (m_impl->frame && m_impl->frame->editor() && CanRedo()) in Redo()
343 return m_impl->frame->editor()->redo(); in Redo()
348 if (m_impl->frame && m_impl->frame->editor()) in CanUndo()
349 return m_impl->frame->editor()->canUndo(); in CanUndo()
[all …]
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpResponseCache.java174 DiskLruCache.Editor editor = null; in put() local
176 editor = cache.edit(key); in put()
177 if (editor == null) { in put()
180 entry.writeTo(editor); in put()
181 return new CacheRequestImpl(editor); in put()
183 abortQuietly(editor); in put()
205 DiskLruCache.Editor editor = null; in update() local
207 editor = snapshot.edit(); // returns null if snapshot is not current in update()
208 if (editor != null) { in update()
209 entry.writeTo(editor); in update()
[all …]
/external/webkit/Source/WebCore/editing/
DEditorCommand.cpp105 frame->editor()->applyStyleToSelection(style, action); in applyCommandToFrame()
109 frame->editor()->applyStyle(style); in applyCommandToFrame()
136 RefPtr<EditingStyle> selectionStyle = frame->editor()->selectionStartStyle(); in executeToggleStyleInList()
165 if (frame->editor()->behavior().shouldToggleStyleBasedOnStartOfSelection()) in executeToggleStyle()
166 styleIsPresent = frame->editor()->selectionStartHasStyle(propertyID, onValue); in executeToggleStyle()
168 styleIsPresent = frame->editor()->selectionHasStyle(propertyID, onValue) == TrueTriState; in executeToggleStyle()
181 frame->editor()->applyParagraphStyleToSelection(style.get(), action); in executeApplyParagraphStyle()
185 frame->editor()->applyParagraphStyle(style.get()); in executeApplyParagraphStyle()
220 …if (!frame->editor()->client()->shouldChangeSelectedRange(oldRange.get(), newRange.get(), affinity… in expandSelectionToGranularity()
228 if (frame->editor()->behavior().shouldToggleStyleBasedOnStartOfSelection()) in stateStyle()
[all …]
DEditCommand.cpp49 …Node(m_document->frame()->selection()->selection(), m_document->frame()->editor()->deleteButtonCon… in EditCommand()
90 DeleteButtonController* deleteButtonController = frame->editor()->deleteButtonController(); in apply()
100 frame->editor()->appliedEditing(this); in apply()
120 DeleteButtonController* deleteButtonController = frame->editor()->deleteButtonController(); in unapply()
126 frame->editor()->unappliedEditing(this); in unapply()
143 DeleteButtonController* deleteButtonController = frame->editor()->deleteButtonController(); in reapply()
149 frame->editor()->reappliedEditing(this); in reapply()
DTypingCommand.cpp90 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in deleteSelection()
108 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in deleteKeyPressed()
128 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in forwardDeleteKeyPressed()
159 …document->frame()->editor()->updateMarkersForWordsAffectedByEditing(isSpaceOrNewline(text.characte… in insertText()
191 RefPtr<EditCommand> lastEditCommand = frame->editor()->lastEditCommand(); in insertText()
225 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in insertLineBreak()
243 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in insertParagraphSeparatorInQuotedContent()
259 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in insertParagraphSeparator()
325 if (!document()->frame()->editor()->isContinuousSpellCheckingEnabled() in markMisspellingsAfterTyping()
326 && !document()->frame()->editor()->isAutomaticQuoteSubstitutionEnabled() in markMisspellingsAfterTyping()
[all …]
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dautocomplete_text_field.mm51 // Reroute events for the decoration area to the field editor. This
56 // implements text selection and editing in terms of a "field editor".
59 // editor is installed, it will get -mouseDown: events and handle
62 // decorations outside the field editor's area. In that case, the
63 // default NSTextField code will setup the field editor all over
70 // editor the default NSTextField code detects if the hit is in the
71 // field editor area, and if so sets the selection to {0,0} to clear
72 // the selection before forwarding the event to the field editor for
91 NSText* editor = [self currentEditor];
92 NSMenu* menu = [editor menuForEvent:theEvent];
[all …]
/external/okhttp/src/test/java/com/squareup/okhttp/internal/
DDiskLruCacheTest.java152 DiskLruCache.Editor editor = cache.edit("k1"); in cannotOperateOnEditAfterPublish() local
153 editor.set(0, "A"); in cannotOperateOnEditAfterPublish()
154 editor.set(1, "B"); in cannotOperateOnEditAfterPublish()
155 editor.commit(); in cannotOperateOnEditAfterPublish()
156 assertInoperable(editor); in cannotOperateOnEditAfterPublish()
160 DiskLruCache.Editor editor = cache.edit("k1"); in cannotOperateOnEditAfterRevert() local
161 editor.set(0, "A"); in cannotOperateOnEditAfterRevert()
162 editor.set(1, "B"); in cannotOperateOnEditAfterRevert()
163 editor.abort(); in cannotOperateOnEditAfterRevert()
164 assertInoperable(editor); in cannotOperateOnEditAfterRevert()
[all …]
/external/chromium/chrome/browser/ui/cocoa/
Dstyled_text_field.mm20 // editor results in resetting the field editor's editing state, which
22 // editing can require the field editor to be repositioned, which
27 NSText* editor = [self currentEditor];
28 if (!editor) {
33 // clipview containing the editor (for purposes of scrolling).
36 DCHECK([editor isDescendantOf:self]);
52 [editor scrollRangeToVisible:[editor selectedRange]];
/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/webkit/Source/WebKit/chromium/src/
DContextMenuClientImpl.cpp106 String misspelledWord = selectedFrame->editor()->selectedText().stripWhiteSpace(); in selectMisspelledWord()
127 misspelledWord = selectedFrame->editor()->selectedText().stripWhiteSpace(); in selectMisspelledWord()
160 if (m_webView->focusedWebCoreFrame()->editor()->canUndo()) in getCustomMenuFromDefaultItems()
162 if (m_webView->focusedWebCoreFrame()->editor()->canRedo()) in getCustomMenuFromDefaultItems()
164 if (m_webView->focusedWebCoreFrame()->editor()->canCut()) in getCustomMenuFromDefaultItems()
166 if (m_webView->focusedWebCoreFrame()->editor()->canCopy()) in getCustomMenuFromDefaultItems()
168 if (m_webView->focusedWebCoreFrame()->editor()->canPaste()) in getCustomMenuFromDefaultItems()
170 if (m_webView->focusedWebCoreFrame()->editor()->canDelete()) in getCustomMenuFromDefaultItems()
253 data.selectedText = selectedFrame->editor()->selectedText().stripWhiteSpace(); in getCustomMenuFromDefaultItems()
257 if (m_webView->focusedWebCoreFrame()->editor()->isContinuousSpellCheckingEnabled()) { in getCustomMenuFromDefaultItems()
[all …]
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
DDumpRenderTreeSupportGtk.cpp492 core(webView)->focusController()->focusedOrMainFrame()->editor()->command(name).execute(value); in executeCoreCommandByName()
500 …return core(webView)->focusController()->focusedOrMainFrame()->editor()->command(name).isEnabled(); in isCommandEnabled()
512 Editor* editor = frame->editor(); in setComposition() local
513 if (!editor) in setComposition()
515 if (!editor->canEdit() && !editor->hasComposition()) in setComposition()
521 editor->setComposition(compositionString, underlines, start, end); in setComposition()
532 Editor* editor = frame->editor(); in confirmComposition() local
533 if (!editor || (!editor->hasComposition() && !text)) in confirmComposition()
536 if (editor->hasComposition()) { in confirmComposition()
538 editor->confirmComposition(String::fromUTF8(text)); in confirmComposition()
[all …]
DEditorClientGtk.cpp66 if (!frame || !frame->editor()->canEdit()) in imContextCommitted()
82 frame->editor()->confirmComposition(String::fromUTF8(compositionString)); in imContextCommitted()
89 if (!frame || !frame->editor()->canEdit()) in imContextPreeditChanged()
99 frame->editor()->setComposition(preeditString, underlines, 0, 0); in imContextPreeditChanged()
450 if (targetFrame->editor()->ignoreCompositionSelectionChange()) in respondToChangedSelection()
457 if (!targetFrame->editor()->hasComposition()) in respondToChangedSelection()
462 if (!targetFrame->editor()->getCompositionSelection(start, end)) { in respondToChangedSelection()
465 targetFrame->editor()->confirmCompositionWithoutDisturbingSelection(); in respondToChangedSelection()
677 Editor::Command command = frame->editor()->command(commandString); in executePendingEditorCommands()
727 if (executePendingEditorCommands(frame, frame->editor()->canEdit())) { in handleKeyboardEvent()
[all …]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/
DEmptyProperty.java13 import org.eclipse.wb.internal.core.model.property.editor.PropertyEditor;
14 import org.eclipse.wb.internal.core.model.property.editor.string.StringPropertyEditor;
32 public EmptyProperty(PropertyEditor editor) { in EmptyProperty() argument
33 super(editor); in EmptyProperty()
/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()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/string/
DStringPropertyEditor.java11 package org.eclipse.wb.internal.core.model.property.editor.string;
14 import org.eclipse.wb.internal.core.model.property.editor.AbstractTextPropertyEditor;
15 import org.eclipse.wb.internal.core.model.property.editor.PropertyEditor;
16 import org.eclipse.wb.internal.core.model.property.editor.presentation.ButtonPropertyEditorPresenta…
17 import org.eclipse.wb.internal.core.model.property.editor.presentation.PropertyEditorPresentation;
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
DTestCaseEditController.java207 JComponent editor = null; in updateInputEditor() local
213 editor = this.editInputString; in updateInputEditor()
217 editor = this.editInputMulti.getView(); in updateInputEditor()
221 editor = this.editInputFile; in updateInputEditor()
228 paneDetailInput.setEditor(editor); in updateInputEditor()
232 JComponent editor = null; in updateOutputEditor() local
241 editor = this.editOutputAST.getView(); in updateOutputEditor()
247 editor = this.editOutputResult; in updateOutputEditor()
253 editor = this.editOutputStd.getView(); in updateOutputEditor()
259 editor = this.editOutputReturn.getView(); in updateOutputEditor()
[all …]
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/gtk/
DWebEditorClientGtk.cpp49 … Editor::Command command = frame->editor()->command(pendingEditorCommands.at(i).utf8().data()); in executePendingEditorCommands()
90 … if (executePendingEditorCommands(frame, pendingEditorCommands, frame->editor()->canEdit())) { in handleKeyboardEvent()
97 if (!frame->editor()->canEdit()) in handleKeyboardEvent()
107 frame->editor()->insertText(platformEvent->text(), event); in handleKeyboardEvent()
119 if (frame->editor()->insertText(platformEvent->text(), event)) in handleKeyboardEvent()

12345678910>>...14