Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 261810 Details for
Bug 493848
[es6] backtick strings should be shown using the string color
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Proposed patch
493848.patch (text/plain), 1.95 KB, created by
Olivier Thomann
on 2016-05-17 16:41:50 EDT
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2016-05-17 16:41:50 EDT
Size:
1.95 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/editor/stylers/application_javascript/syntax.js b/bundles/org.eclipse.orion.client.editor/web/orion/editor/stylers/application_javascript/syntax.js >index 329c73a..abaa910 100644 >--- a/bundles/org.eclipse.orion.client.editor/web/orion/editor/stylers/application_javascript/syntax.js >+++ b/bundles/org.eclipse.orion.client.editor/web/orion/editor/stylers/application_javascript/syntax.js >@@ -54,13 +54,21 @@ define("orion/editor/stylers/application_javascript/syntax", ["orion/editor/styl > begin: "'(?:\\\\.|[^\\\\'])*\\\\$", > end: "^(?:$|(?:\\\\.|[^\\\\'])*('|[^\\\\]$))", > name: "string.quoted.single.js" >- }, { >+ }, >+ { > begin: '"(?:\\\\.|[^\\\\"])*\\\\$', > end: '^(?:$|(?:\\\\.|[^\\\\"])*("|[^\\\\]$))', > name: "string.quoted.double.js" > }, >+ { >+ begin: '"(?:\\\\.|[^\\\\`])*\\\\$', >+ end: '^(?:$|(?:\\\\.|[^\\\\`])*(`|[^\\\\]$))', >+ name: "string.quoted.backtick.js" >+ }, > {include: "orion.lib#string_doubleQuote"}, > {include: "orion.lib#string_singleQuote"}, >+ {include: "orion.lib#string_backtickQuote"}, >+ > {include: "orion.c-like#comment_singleLine"}, > { > match: "/(?![\\s\\*])(?:\\\\.|[^/])+/(?:[gim]{0,3})", >diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/editor/stylers/lib/syntax.js b/bundles/org.eclipse.orion.client.editor/web/orion/editor/stylers/lib/syntax.js >index 0dfcc23..f602906 100644 >--- a/bundles/org.eclipse.orion.client.editor/web/orion/editor/stylers/lib/syntax.js >+++ b/bundles/org.eclipse.orion.client.editor/web/orion/editor/stylers/lib/syntax.js >@@ -81,6 +81,10 @@ define("orion/editor/stylers/lib/syntax", [], function() { > match: "'(?:\\\\.|[^'])*'?", > name: "string.quoted.single" > }, >+ string_backtickQuote: { >+ match: "`(?:\\\\.|[^`])*`?", >+ name: "string.quoted.backtick" >+ }, > todo_comment_singleLine: { > match: "(\\b)(TODO)(\\b)(.*)", > name: "meta.annotation.task.todo",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 493848
:
261810
|
261811
|
261812
|
261828