+2012-09-24 Andrey Adaikin <aandrey@chromium.org>
+
+ Web Inspector: [TextEditor] Line numbers out of sync after closing breakpoint condition editor
+ https://bugs.webkit.org/show_bug.cgi?id=96510
+
+ Reviewed by Vsevolod Vlasov.
+
+ Sync line heights on adding/removing decorations.
+
+ * inspector/front-end/DefaultTextEditor.js:
+ (WebInspector.TextEditorGutterChunk):
+ (WebInspector.TextEditorGutterChunk.prototype.addDecoration):
+ (WebInspector.TextEditorGutterChunk.prototype.removeDecoration):
+ (WebInspector.TextEditorGutterChunk.prototype.set expanded):
+ (WebInspector.TextEditorGutterChunk.prototype.get height):
+ (WebInspector.TextEditorGutterChunk.prototype._createRow):
+ (WebInspector.TextEditorMainChunk.prototype.addDecoration):
+ (WebInspector.TextEditorMainChunk.prototype.removeDecoration):
+ (WebInspector.TextEditorMainChunk.prototype.removeAllDecorations):
+
2012-09-21 Andrey Kosyakov <caseq@chromium.org>
Web Inspector: support saving HAR with resources content
{
this._mainPanel.addDecoration(lineNumber, element);
this._gutterPanel.addDecoration(lineNumber, element);
+ this._syncDecorationsForLine(lineNumber);
},
/**
{
this._mainPanel.removeDecoration(lineNumber, element);
this._gutterPanel.removeDecoration(lineNumber, element);
+ this._syncDecorationsForLine(lineNumber);
},
/**