[gtksourceview] Add "undefined" keyword



commit 5bc63d889503ed1d08d19c81e018244954950ad7
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Oct 24 11:30:23 2009 +0200

    Add "undefined" keyword

 gtksourceview/language-specs/javascript.lang |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/language-specs/javascript.lang b/gtksourceview/language-specs/javascript.lang
index 50641a8..9ce8155 100644
--- a/gtksourceview/language-specs/javascript.lang
+++ b/gtksourceview/language-specs/javascript.lang
@@ -37,6 +37,7 @@
         <style id="error" _name="Error" map-to="def:error"/>
         <style id="string" _name="String" map-to="def:string"/>
         <style id="null-value" _name="Null Value" map-to="def:special-constant"/>
+        <style id="undefined-value" _name="Undefined Value" map-to="def:special-constant"/>
         <style id="boolean" _name="Boolean value" map-to="def:boolean"/>
         <style id="keyword" _name="Keyword" map-to="def:keyword"/>
         <style id="object" _name="Object"/> <!--map-to="def:others"-->
@@ -102,6 +103,9 @@
                 <context id="null-value" style-ref="null-value">
                     <keyword>null</keyword>
                 </context>
+                <context id="undefined-value" style-ref="undefined-value">
+                    <keyword>undefined</keyword>
+                </context>
                 <context id="boolean" style-ref="boolean">
                     <keyword>false</keyword>
                     <keyword>true</keyword>



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