Web Inspector: Update to CodeMirror 5.5 or later
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Aug 2015 05:40:27 +0000 (05:40 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Aug 2015 05:40:27 +0000 (05:40 +0000)
commit7f4f5f71a173f942839645ec5a25726f3ce811dc
treef29878f69d99e4c519fa9c64fa824efd6d62a8dd
parent9adce28aabcd08d846c6f0a557abdbca2c95a0f3
Web Inspector: Update to CodeMirror 5.5 or later
https://bugs.webkit.org/show_bug.cgi?id=147109

Reviewed by Timothy Hatcher.

Updated CodeMirror to version 5.5, as well as the extension files for CodeMirror
that are currently used in WebInspector.

* Localizations/en.lproj/localizedStrings.js:
* Tools/PrettyPrinting/FormatterDebug.js:
Added WebInspector namespace for formatters.

* Tools/PrettyPrinting/index.html:
Added WebInspector namespace for formatters.

* UserInterface/External/CodeMirror/LICENSE:
* UserInterface/External/CodeMirror/clojure.js:
* UserInterface/External/CodeMirror/closebrackets.js:
* UserInterface/External/CodeMirror/codemirror.css:
* UserInterface/External/CodeMirror/codemirror.js:
* UserInterface/External/CodeMirror/coffeescript.js:
* UserInterface/External/CodeMirror/comment.js:
* UserInterface/External/CodeMirror/css.js:
* UserInterface/External/CodeMirror/htmlmixed.js:
* UserInterface/External/CodeMirror/javascript.js:
* UserInterface/External/CodeMirror/livescript.js:
* UserInterface/External/CodeMirror/matchbrackets.js:
* UserInterface/External/CodeMirror/overlay.js:
* UserInterface/External/CodeMirror/sass.js:
* UserInterface/External/CodeMirror/searchcursor.js:
* UserInterface/External/CodeMirror/sql.js:
* UserInterface/External/CodeMirror/xml.js:
* UserInterface/Views/CodeMirrorFormatters.js:
Now uses the new token in CodeMirror for media query parenthesis.

* UserInterface/Views/CSSStyleDeclarationTextEditor.css:
(.css-style-text-editor > .CodeMirror pre):
Removed the additional vertical padding.

* UserInterface/Views/CSSStyleDeclarationTextEditor.js:
(WebInspector.CSSStyleDeclarationTextEditor.prototype._handleMouseDown):
(WebInspector.CSSStyleDeclarationTextEditor.prototype._handleMouseUp):
Clicking on the end of a line in a style will now correctly insert a new line.

* UserInterface/Views/ComputedStyleDetailsPanel.css:
(.details-section > .content > .group > .row .CodeMirror-code pre .go-to-arrow):
The go-to arrow now has the proper dimensions.

* UserInterface/Views/HoverMenu.css:
(.hover-menu > img):
* UserInterface/Views/SourceCodeTextEditor.css:
(.hover-menu.color > img):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@188325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
29 files changed:
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js
Source/WebInspectorUI/Tools/PrettyPrinting/FormatterDebug.js
Source/WebInspectorUI/Tools/PrettyPrinting/index.html
Source/WebInspectorUI/UserInterface/External/CodeMirror/LICENSE [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/clojure.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/closebrackets.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/codemirror.css [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/codemirror.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/coffeescript.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/comment.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/css.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/htmlmixed.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/javascript.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/livescript.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/matchbrackets.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/overlay.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/placeholder.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/runmode.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/sass.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/searchcursor.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/sql.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/External/CodeMirror/xml.js [changed mode: 0644->0755]
Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css
Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js
Source/WebInspectorUI/UserInterface/Views/CodeMirrorFormatters.js
Source/WebInspectorUI/UserInterface/Views/ComputedStyleDetailsPanel.css
Source/WebInspectorUI/UserInterface/Views/HoverMenu.css
Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.css