I'd like to add some interaction between TextViewer and TextEditorMainPanel and it feels like current implementation of such interaction is not very scalable.
Created attachment 150210 [details] Patch
Comment on attachment 150210 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=150210&action=review > Source/WebCore/inspector/front-end/TextViewer.js:240 > + _exitedInternalTextChangeMode: function(event) update javadoc.
Comment on attachment 150210 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=150210&action=review > Source/WebCore/inspector/front-end/TextViewer.js:975 > + this._gutterPanel.dispatchEventToListeners(WebInspector.TextEditorChunkedPanel.Events.DecorationsForLineSyncNeeded, this.startLine); I would instead pass the delegate into the main panel.
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests. Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.