After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 778043 - javascript.lang: keyword 'of' missing
javascript.lang: keyword 'of' missing
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
3.22.x
Other Linux
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2017-02-01 20:46 UTC by Tobias Schönberg
Modified: 2017-02-02 17:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
javascript.lang: Add keyword 'of' (902 bytes, patch)
2017-02-01 20:48 UTC, Tobias Schönberg
accepted-commit_now Details | Review

Description Tobias Schönberg 2017-02-01 20:46:09 UTC
The keyword 'of' used in for-of-loops is currently not highlighted as a keyword.

See:

https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Statements/for...of
Comment 1 Tobias Schönberg 2017-02-01 20:48:55 UTC
Created attachment 344743 [details] [review]
javascript.lang: Add keyword 'of'

Currently the 'of' in for-of-loops is not hightighted.
This commit adds the missing keyword.
Comment 2 Sébastien Wilmet 2017-02-02 10:16:17 UTC
Review of attachment 344743 [details] [review]:

Ok.