Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(722)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js

Issue 2372663004: DevTools: Replace multiline InplaceEditor with CodeMirrorTextEditor (Closed)
Patch Set: resize width Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/InplaceEditor.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 /** 4 /**
5 * @interface 5 * @interface
6 */ 6 */
7 UI.TextEditorFactory = function() {}; 7 UI.TextEditorFactory = function() {};
8 8
9 UI.TextEditorFactory.prototype = { 9 UI.TextEditorFactory.prototype = {
10 /** 10 /**
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 clearAutocomplete() {} 73 clearAutocomplete() {}
74 }; 74 };
75 75
76 /** 76 /**
77 * @typedef {{ 77 * @typedef {{
78 * bracketMatchingSetting: (!Common.Setting|undefined), 78 * bracketMatchingSetting: (!Common.Setting|undefined),
79 * lineNumbers: boolean, 79 * lineNumbers: boolean,
80 * lineWrapping: boolean, 80 * lineWrapping: boolean,
81 * mimeType: (string|undefined), 81 * mimeType: (string|undefined),
82 * autoHeight: (boolean|undefined) 82 * autoHeight: (boolean|undefined),
83 * padBottom: (boolean|undefined)
83 * }} 84 * }}
84 */ 85 */
85 UI.TextEditor.Options; 86 UI.TextEditor.Options;
86 87
87 /** 88 /**
88 * @typedef {{ 89 * @typedef {{
89 * substituteRangeCallback: ((function(number, number):?Common.TextRange)|un defined), 90 * substituteRangeCallback: ((function(number, number):?Common.TextRange)|un defined),
90 * suggestionsCallback: ((function(!Common.TextRange, !Common.TextRange, boo lean=, string=):?Promise.<!UI.SuggestBox.Suggestions>)|undefined), 91 * suggestionsCallback: ((function(!Common.TextRange, !Common.TextRange, boo lean=, string=):?Promise.<!UI.SuggestBox.Suggestions>)|undefined),
91 * isWordChar: ((function(string):boolean)|undefined), 92 * isWordChar: ((function(string):boolean)|undefined),
92 * captureEnter: (boolean|undefined) 93 * captureEnter: (boolean|undefined)
93 * }} 94 * }}
94 */ 95 */
95 UI.AutocompleteConfig; 96 UI.AutocompleteConfig;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/InplaceEditor.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698