[gtksourceview/gnome-2-28] Add "undefined" keyword
- From: Paolo Borelli <pborelli src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtksourceview/gnome-2-28] Add "undefined" keyword
- Date: Sat, 24 Oct 2009 13:12:36 +0000 (UTC)
commit e1fcf20b0022de4e2807e47b18a318ec3ab1ca91
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..f5b2199 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]