Bug 394365 - coffeescript highlighting breaks with tl in ' ' String
Summary: coffeescript highlighting breaks with tl in ' ' String
Status: RESOLVED FIXED
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: syntax (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-17 10:01 UTC by volmer.simon
Modified: 2018-07-14 17:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Code Snippet showing where the highlighting breaks - Due to privacy concerns of my employer I removed most of the content of the file (359 bytes, application/vnd.coffeescript)
2018-05-17 10:01 UTC, volmer.simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description volmer.simon 2018-05-17 10:01:01 UTC
Created attachment 112704 [details]
Code Snippet showing where the highlighting breaks - Due to privacy concerns of my employer I removed most of the content of the file

Please see the attached .coffee file. The highlighting breaks with the string on line 10. All following lines get displayed as string. There is no difference in using ' or ". CoffeeScript version 2.3.0 compiles the file without errors though.
Comment 1 Nibaldo G. 2018-06-28 21:37:45 UTC
Hi. The fix is on the way: https://phabricator.kde.org/D13787
Comment 2 Christoph Cullmann 2018-07-14 17:06:28 UTC
Git commit 364527746e3cf80a8b90e30981680ac0b479f73d by Christoph Cullmann, on behalf of Nibaldo González.
Committed on 14/07/2018 at 17:04.
Pushed by cullmann into branch 'master'.

CoffeeScript & JavaScript: fix member objects. Add .ts extension in JS
Related: bug 366797

Differential Revision: https://phabricator.kde.org/D13787

A  +58   -0    autotests/folding/test.coffee.fold
M  +7    -0    autotests/folding/test.js.fold
A  +65   -0    autotests/html/test.coffee.html
M  +7    -0    autotests/html/test.js.html
A  +58   -0    autotests/input/test.coffee
M  +7    -0    autotests/input/test.js
A  +58   -0    autotests/reference/test.coffee.ref
M  +7    -0    autotests/reference/test.js.ref
M  +8    -2    data/syntax/coffee.xml
M  +11   -7    data/syntax/javascript.xml

https://commits.kde.org/syntax-highlighting/364527746e3cf80a8b90e30981680ac0b479f73d