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

Unified Diff: third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js

Issue 2565113002: DevTools: update console viewport scroll when prompt is resized (Closed)
Patch Set: update promptinput to promptContentChanged 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
diff --git a/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js b/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
index 41d0d9ba36d49fce89744efb2f175f76520b572d..5605e24a54fb6e0c60cc60b9d7a6fc69405c05d4 100644
--- a/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
+++ b/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
@@ -1050,6 +1050,7 @@ TextEditor.CodeMirrorTextEditor = class extends UI.VBox {
this._decorations.valuesArray().forEach(decoration => this._codeMirror.removeLineWidget(decoration.widget));
this._decorations.clear();
+ this.widget().emit(new UI.TextEditor.ContentChangedEvent());
einbinder 2017/03/13 18:08:18 this.widget() is just a hack for the interface. th
lushnikov 2017/03/14 21:43:39 Let's move SourceFrame.SourcesTextEditor.Events.Te
luoe 2017/03/14 21:59:58 Done.
luoe 2017/03/14 21:59:58 Done.
}
/**

Powered by Google App Engine
This is Rietveld 408576698