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

Unified Diff: Source/devtools/front_end/UISourceCodeFrame.js

Issue 131743005: DevTools: fix execution line update on pretty-print (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
« no previous file with comments | « Source/devtools/front_end/JavaScriptSourceFrame.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/UISourceCodeFrame.js
diff --git a/Source/devtools/front_end/UISourceCodeFrame.js b/Source/devtools/front_end/UISourceCodeFrame.js
index 76a49112246315029923bb05b68f2ed37a23d6e2..2db48874786b23a24adea6fd77a13249d33145e3 100644
--- a/Source/devtools/front_end/UISourceCodeFrame.js
+++ b/Source/devtools/front_end/UISourceCodeFrame.js
@@ -120,11 +120,14 @@ WebInspector.UISourceCodeFrame.prototype = {
}
},
+ beforeFormattedChange: function() { },
+
/**
* @param {!WebInspector.Event} event
*/
_onFormattedChanged: function(event)
{
+ this.beforeFormattedChange();
var content = /** @type {string} */ (event.data.content);
this._textEditor.setReadOnly(this._uiSourceCode.formatted());
var selection = this._textEditor.selection();
« no previous file with comments | « Source/devtools/front_end/JavaScriptSourceFrame.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698