Skip to content
  • commit-queue@webkit.org's avatar
    Web Inspector: Duplicated color swatches changing autocompletes color names · 87feffd6
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=121265
    
    Patch by Joseph Pecoraro <pecoraro@apple.com> on 2013-09-12
    Reviewed by Timothy Hatcher.
    
    CodeMirror bookmarks at position used to be unique but no longer are.
    Define an extension to give us unique bookmarks as we expected, and
    update all the old locations using setBookmark.
    
    * UserInterface/CSSStyleDeclarationTextEditor.js:
    (WebInspector.CSSStyleDeclarationTextEditor.prototype.didDismissPopover):
    (WebInspector.CSSStyleDeclarationTextEditor.prototype._updateTextMarkers):
    (WebInspector.CSSStyleDeclarationTextEditor.prototype.):
    (WebInspector.CSSStyleDeclarationTextEditor.prototype._createColorSwatches):
    (WebInspector.CSSStyleDeclarationTextEditor.prototype):
    (WebInspector.CSSStyleDeclarationTextEditor.prototype.event.newColorText):
    * UserInterface/CodeMirrorAdditions.js:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    87feffd6