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 795949 - css.lang: Add keyword arguments for CSS3 functions
css.lang: Add keyword arguments for CSS3 functions
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
git master
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2018-05-08 20:50 UTC by Jeffery To
Modified: 2018-05-09 11:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
css.lang: Add keyword arguments for CSS3 functions (2.86 KB, patch)
2018-05-08 20:54 UTC, Jeffery To
none Details | Review
css.lang: Add keyword arguments for CSS3 functions (2.82 KB, patch)
2018-05-09 10:30 UTC, Jeffery To
none Details | Review

Description Jeffery To 2018-05-08 20:50:58 UTC
Several CSS3 functions take keyword arguments, e.g.:

background: radial-gradient(circle at left top, #e66465, #9198e5);

Will attach a patch shortly.
Comment 1 Jeffery To 2018-05-08 20:54:29 UTC
Created attachment 371818 [details] [review]
css.lang: Add keyword arguments for CSS3 functions

This adds a css3-function-arguments context to highlight keyword arguments for CSS3 functions.

This also adds named colors as values to match in the function context, which will work when bug 795947 is resolved.
Comment 2 Jeffery To 2018-05-09 10:30:31 UTC
Created attachment 371833 [details] [review]
css.lang: Add keyword arguments for CSS3 functions

This adds a css3-function-arguments context to highlight keyword
arguments for CSS3 functions.

This also adds named colors as values to match in the function context,
which will work when bug 795947 is resolved.

(Rebased on git master.)
Comment 3 Sébastien Wilmet 2018-05-09 11:06:32 UTC
Thanks, pushed as commit bb6a105f23099aab141ad212ef4e087f595de896.