[gtksourceview] css.lang: Sort and update pseudo-elements and pseudo-classes



commit 9d457dea09544747025983ee28f267c18ff0bf1e
Author: Jeffery To <jeffery to gmail com>
Date:   Fri May 11 07:12:07 2018 +0800

    css.lang: Sort and update pseudo-elements and pseudo-classes
    
    This sorts the lists of pseudo-elements and pseudo-classes
    alphabetically, and adds pseudo-classes from CSS Basic User Interface
    Module Level 3 / HTML5.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=796130

 data/language-specs/css.lang |   47 +++++++++++++++++++++++++-----------------
 1 files changed, 28 insertions(+), 19 deletions(-)
---
diff --git a/data/language-specs/css.lang b/data/language-specs/css.lang
index b615814..b92d596 100644
--- a/data/language-specs/css.lang
+++ b/data/language-specs/css.lang
@@ -1628,10 +1628,10 @@
 
     <context id="selector-pseudo-elements-one-colon" style-ref="function">
       <prefix>::?</prefix>
-      <keyword>first-line</keyword>
-      <keyword>first-letter</keyword>
-      <keyword>before</keyword>
       <keyword>after</keyword>
+      <keyword>before</keyword>
+      <keyword>first-letter</keyword>
+      <keyword>first-line</keyword>
     </context>
 
     <context id="selector-pseudo-elements" style-ref="function">
@@ -1642,30 +1642,39 @@
 
     <context id="selector-pseudo-classes" style-ref="function">
       <prefix>:</prefix>
-      <keyword>enabled</keyword>
-      <keyword>disabled</keyword>
+      <keyword>active</keyword>
       <keyword>checked</keyword>
+      <keyword>default</keyword>
+      <keyword>disabled</keyword>
+      <keyword>empty</keyword>
+      <keyword>enabled</keyword>
+      <keyword>first-child</keyword>
+      <keyword>first-of-type</keyword>
+      <keyword>focus</keyword>
+      <keyword>hover</keyword>
+      <keyword>in-range</keyword>
       <keyword>indeterminate</keyword>
-      <keyword>root</keyword>
+      <keyword>invalid</keyword>
+      <keyword>lang</keyword>
+      <keyword>last-child</keyword>
+      <keyword>last-of-type</keyword>
+      <keyword>link</keyword>
+      <keyword>not</keyword>
       <keyword>nth-child</keyword>
       <keyword>nth-last-child</keyword>
-      <keyword>nth-of-type</keyword>
       <keyword>nth-last-of-type</keyword>
-      <keyword>first-child</keyword>
-      <keyword>last-child</keyword>
-      <keyword>first-of-type</keyword>
-      <keyword>last-of-type</keyword>
+      <keyword>nth-of-type</keyword>
       <keyword>only-child</keyword>
       <keyword>only-of-type</keyword>
-      <keyword>empty</keyword>
-      <keyword>not</keyword>
-      <keyword>link</keyword>
-      <keyword>visited</keyword>
-      <keyword>hover</keyword>
-      <keyword>active</keyword>
-      <keyword>focus</keyword>
+      <keyword>optional</keyword>
+      <keyword>out-of-range</keyword>
+      <keyword>read-only</keyword>
+      <keyword>read-write</keyword>
+      <keyword>required</keyword>
+      <keyword>root</keyword>
       <keyword>target</keyword>
-      <keyword>lang</keyword>
+      <keyword>valid</keyword>
+      <keyword>visited</keyword>
     </context>
 
     <context id="selector-nth-argument-keywords" style-ref="property-values">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]