Title: [158061] trunk/Source/WebInspectorUI
- Revision
- 158061
- Author
- [email protected]
- Date
- 2013-10-25 15:23:20 -0700 (Fri, 25 Oct 2013)
Log Message
Web Inspector: Command+Click on url(…) should go to image not source line
https://bugs.webkit.org/show_bug.cgi?id=123362
Patch by Joseph Pecoraro <[email protected]> on 2013-10-25
Reviewed by Timothy Hatcher.
CodeMirror changed "url" from being type "variable-2" to "string-2".
* UserInterface/CodeMirrorAdditions.js:
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (158060 => 158061)
--- trunk/Source/WebInspectorUI/ChangeLog 2013-10-25 22:10:49 UTC (rev 158060)
+++ trunk/Source/WebInspectorUI/ChangeLog 2013-10-25 22:23:20 UTC (rev 158061)
@@ -1,3 +1,14 @@
+2013-10-25 Joseph Pecoraro <[email protected]>
+
+ Web Inspector: Command+Click on url(…) should go to image not source line
+ https://bugs.webkit.org/show_bug.cgi?id=123362
+
+ Reviewed by Timothy Hatcher.
+
+ CodeMirror changed "url" from being type "variable-2" to "string-2".
+
+ * UserInterface/CodeMirrorAdditions.js:
+
2013-10-25 Jessie Berlin <[email protected]>
Ran update-localizable-strings after changes made in r157947.
Modified: trunk/Source/WebInspectorUI/UserInterface/CodeMirrorAdditions.js (158060 => 158061)
--- trunk/Source/WebInspectorUI/UserInterface/CodeMirrorAdditions.js 2013-10-25 22:10:49 UTC (rev 158060)
+++ trunk/Source/WebInspectorUI/UserInterface/CodeMirrorAdditions.js 2013-10-25 22:23:20 UTC (rev 158061)
@@ -187,7 +187,7 @@
var style = this._token(stream, state);
if (style) {
- if (style === "variable-2" && stream.current() === "url") {
+ if (style === "string-2" && stream.current() === "url") {
// If the current text is "url" then we should expect the next string token to be a link.
state._expectLink = true;
} else if (state._expectLink && style === "string") {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes