Index: Source/WebCore/inspector/front-end/UISourceCodeFrame.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/UISourceCodeFrame.js (revision 133760) |
+++ Source/WebCore/inspector/front-end/UISourceCodeFrame.js (working copy) |
@@ -83,6 +83,7 @@ |
_onFormattedChanged: function(event) |
{ |
var content = /** @type {string} */ event.data.content; |
+ this._textEditor.setReadOnly(this._uiSourceCode.formatted()); |
this._innerSetContent(content); |
}, |