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

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

Issue 2331053002: DevTools: Implement the console prompt with CodeMirror (Closed)
Patch Set: Copyright Created 4 years, 3 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
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
dgozman 2016/09/14 21:20:17 http://dev.chromium.org/blink/coding-style#TOC-Lic
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
1 /** 5 /**
2 * @interface 6 * @interface
3 */ 7 */
4 WebInspector.TextEditorFactory = function() 8 WebInspector.TextEditorFactory = function()
5 { 9 {
6 } 10 }
7 11
8 WebInspector.TextEditorFactory.prototype = { 12 WebInspector.TextEditorFactory.prototype = {
9 /** 13 /**
10 * @param {!WebInspector.TextEditor.Options} options 14 * @param {!WebInspector.TextEditor.Options} options
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 configureAutocomplete: function(config) { }, 74 configureAutocomplete: function(config) { },
71 75
72 clearAutocomplete: function() { } 76 clearAutocomplete: function() { }
73 } 77 }
74 78
75 /** 79 /**
76 * @typedef {{ 80 * @typedef {{
77 * bracketMatchingSetting: (!WebInspector.Setting|undefined), 81 * bracketMatchingSetting: (!WebInspector.Setting|undefined),
78 * lineNumbers: boolean, 82 * lineNumbers: boolean,
79 * lineWrapping: boolean, 83 * lineWrapping: boolean,
80 * mimeType: (string|undefined) 84 * mimeType: (string|undefined),
85 * autoHeight: (boolean|undefined)
81 * }} 86 * }}
82 **/ 87 **/
83 WebInspector.TextEditor.Options; 88 WebInspector.TextEditor.Options;
84 89
85 /** 90 /**
86 * @typedef {{ 91 * @typedef {{
87 * substituteRangeCallback: ((function(number, number):?WebInspector.TextRan ge)|undefined), 92 * substituteRangeCallback: ((function(number, number):?WebInspector.TextRan ge)|undefined),
88 * suggestionsCallback: ((function(!WebInspector.TextRange, !WebInspector.Te xtRange):?Promise.<!WebInspector.SuggestBox.Suggestions>)|undefined), 93 * suggestionsCallback: ((function(!WebInspector.TextRange, !WebInspector.Te xtRange):?Promise.<!WebInspector.SuggestBox.Suggestions>)|undefined),
89 * isWordChar: ((function(string):boolean)|undefined) 94 * isWordChar: ((function(string):boolean)|undefined),
95 * captureEnter: (boolean|undefined)
90 * }} 96 * }}
91 **/ 97 **/
92 WebInspector.AutocompleteConfig; 98 WebInspector.AutocompleteConfig;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698