[gtksourceview] css.lang: Add grid properies, values and the 'fr' unit
- From: Tobias Schönberg <tobiasschoenberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] css.lang: Add grid properies, values and the 'fr' unit
- Date: Mon, 5 Jun 2017 13:59:05 +0000 (UTC)
commit ac6338ea77fe79059e45f6f970b6ef4273a6e23b
Author: Tobias Schönberg <tobias47n9e gmail com>
Date: Mon Jun 5 13:10:31 2017 +0200
css.lang: Add grid properies, values and the 'fr' unit
Currently grid properties and values are not highlighted. This
includes the 'fr' unit.
This commit adds the keywords to the appropriate css3 contexts and
the 'fr' unit to the dimension context.
https://bugzilla.gnome.org/show_bug.cgi?id=783425
data/language-specs/css.lang | 26 +++++++++++++++++++++++++-
1 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/data/language-specs/css.lang b/data/language-specs/css.lang
index d5b8754..c6236c4 100644
--- a/data/language-specs/css.lang
+++ b/data/language-specs/css.lang
@@ -174,7 +174,7 @@
</context>
<context id="dimension" style-ref="dimension">
-
<match>[\+-]?([0-9]+|[0-9]*\.[0-9]+)(%|e(m|x)|(v(h|w|min|max))|ch|rem|p(x|t|c)|in|ft|(m|c)m|k?Hz|deg|g?rad|m?s)</match>
+
<match>[\+-]?([0-9]+|[0-9]*\.[0-9]+)(%|e(m|x)|(v(h|w|min|max))|ch|fr|rem|p(x|t|c)|in|ft|(m|c)m|k?Hz|deg|g?rad|m?s)</match>
</context>
<context id="resolution" style-ref="dimension">
@@ -339,6 +339,24 @@
<keyword>font-variant-ligatures</keyword>
<keyword>font-variant-numeric</keyword>
<keyword>font-variant-position</keyword>
+ <keyword>grid-area</keyword>
+ <keyword>grid-gap</keyword>
+ <keyword>grid-auto-columns</keyword>
+ <keyword>grid-auto-flow</keyword>
+ <keyword>grid-auto-rows</keyword>
+ <keyword>grid-column-end</keyword>
+ <keyword>grid-column-gap</keyword>
+ <keyword>grid-column-start</keyword>
+ <keyword>grid-column</keyword>
+ <keyword>grid-row-end</keyword>
+ <keyword>grid-row-gap</keyword>
+ <keyword>grid-row-start</keyword>
+ <keyword>grid-row</keyword>
+ <keyword>grid-template-areas</keyword>
+ <keyword>grid-template-columns</keyword>
+ <keyword>grid-template-rows</keyword>
+ <keyword>grid-template</keyword>
+ <keyword>grid</keyword>
<keyword>hanging-punctuation</keyword>
<keyword>hyphens</keyword>
<keyword>image-orientation</keyword>
@@ -346,6 +364,7 @@
<keyword>image-resolution</keyword>
<keyword>ime-mode</keyword>
<keyword>justify-content</keyword>
+ <keyword>justify-self</keyword>
<keyword>line-break</keyword>
<keyword>mask-type</keyword>
<keyword>mask</keyword>
@@ -564,6 +583,7 @@
<keyword>alternate-reverse</keyword>
<keyword>alternate</keyword>
<keyword>avoid-page</keyword>
+ <keyword>auto-flow</keyword>
<keyword>backwards</keyword>
<keyword>balance</keyword>
<keyword>border-box</keyword>
@@ -581,6 +601,7 @@
<keyword>cover</keyword>
<keyword>crisp-edges</keyword>
<keyword>darken</keyword>
+ <keyword>dense</keyword>
<keyword>diagonal-fractions</keyword>
<keyword>disabled</keyword>
<keyword>discretionary-ligatures</keyword>
@@ -604,6 +625,7 @@
<keyword>forwards</keyword>
<keyword>from-image</keyword>
<keyword>full-width</keyword>
+ <keyword>grid</keyword>
<keyword>historical-forms</keyword>
<keyword>historical-ligatures</keyword>
<keyword>horizontal-tb</keyword>
@@ -612,6 +634,7 @@
<keyword>infinite</keyword>
<keyword>initial</keyword>
<keyword>inline-flex</keyword>
+ <keyword>inline-grid</keyword>
<keyword>inter-cluster</keyword>
<keyword>inter-ideograph</keyword>
<keyword>inter-word</keyword>
@@ -663,6 +686,7 @@
<keyword>slashed-zero</keyword>
<keyword>space-around</keyword>
<keyword>space-between</keyword>
+ <keyword>space-evenly</keyword>
<keyword>space</keyword>
<keyword>stacked-fractions</keyword>
<keyword>start</keyword>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]