Changeset 207165 in webkit


Ignore:
Timestamp:
Oct 11, 2016 2:24:35 PM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Remove line highlight on primary execution line while stepping because it is distracting
https://bugs.webkit.org/show_bug.cgi?id=163294
<rdar://problem/28721176>

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2016-10-11
Reviewed by Timothy Hatcher.

  • UserInterface/Views/TextEditor.js:

(WebInspector.TextEditor.prototype._updateExecutionLine):
When setting the primary execution line, remove default line highlights.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r207006 r207165  
     12016-10-11  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: Remove line highlight on primary execution line while stepping because it is distracting
     4        https://bugs.webkit.org/show_bug.cgi?id=163294
     5        <rdar://problem/28721176>
     6
     7        Reviewed by Timothy Hatcher.
     8
     9        * UserInterface/Views/TextEditor.js:
     10        (WebInspector.TextEditor.prototype._updateExecutionLine):
     11        When setting the primary execution line, remove default line highlights.
     12
    1132016-10-10  Matt Baker  <mattbaker@apple.com>
    214
  • trunk/Source/WebInspectorUI/UserInterface/Views/TextEditor.js

    r207006 r207165  
    12211221                this._codeMirror.addLineClass(this._executionLineHandle, "wrap", WebInspector.TextEditor.ExecutionLineStyleClassName);
    12221222                this._codeMirror.addLineClass(this._executionLineHandle, "wrap", "primary");
     1223                this._codeMirror.removeLineClass(this._executionLineHandle, "wrap", WebInspector.TextEditor.HighlightedStyleClassName);
    12231224            }
    12241225        });
Note: See TracChangeset for help on using the changeset viewer.