Changeset 181672 in webkit
- Timestamp:
- Mar 17, 2015, 5:03:07 PM (11 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Views/CSSStyleDeclarationTextEditor.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r181626 r181672 1 2015-03-17 Tobias Reiss <tobi+webkit@basecode.de> 2 3 Web Inspector: Removal of multiline completion hint broken in Details sidebar 4 https://bugs.webkit.org/show_bug.cgi?id=142796 5 6 Reviewed by Joseph Pecoraro. 7 8 Prioritize CodeMirrorCompletionController over CSSStyleDeclarationTextEditor. 9 Both classes control the current CodeMirror instance of the Details Sidebar. 10 This change prevents possible race conditions during complete or delete-complete phases, 11 especially during operations on multiple styles in one line. 12 13 * UserInterface/Views/CSSStyleDeclarationTextEditor.js: 14 (WebInspector.CSSStyleDeclarationTextEditor): 15 1 16 2015-03-17 Matt Baker <mattbaker@apple.com> 2 17 -
trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js
r177322 r181672 54 54 }); 55 55 56 this._codeMirror.on("change", this._contentChanged.bind(this));57 this._codeMirror.on("blur", this._editorBlured.bind(this));58 59 56 this._completionController = new WebInspector.CodeMirrorCompletionController(this._codeMirror, this); 60 57 this._tokenTrackingController = new WebInspector.CodeMirrorTokenTrackingController(this._codeMirror, this); … … 65 62 this._tokenTrackingController.mouseOutReleaseDelayDuration = 0; 66 63 this._tokenTrackingController.mode = WebInspector.CodeMirrorTokenTrackingController.Mode.NonSymbolTokens; 64 65 // Make sure CompletionController adds event listeners first. 66 // Otherwise we end up in race conditions during complete or delete-complete phases. 67 this._codeMirror.on("change", this._contentChanged.bind(this)); 68 this._codeMirror.on("blur", this._editorBlured.bind(this)); 67 69 68 70 this.style = style;
Note:
See TracChangeset
for help on using the changeset viewer.