[gtksourceview] Removed unecessary style-ref on lang files.



commit 61ad8de5132b8ef763e2efc9534f7603d0494745
Author: Carnë Draug <carandraug+dev gmail com>
Date:   Tue May 3 23:47:20 2011 +0100

    Removed unecessary style-ref on lang files.

 data/language-specs/boo.lang     |   28 ++++++++++++++--------------
 data/language-specs/libtool.lang |    2 +-
 data/language-specs/po.lang      |   14 +++++++-------
 data/language-specs/sh.lang      |    7 +++----
 4 files changed, 25 insertions(+), 26 deletions(-)
---
diff --git a/data/language-specs/boo.lang b/data/language-specs/boo.lang
index 5057808..a6a9be0 100644
--- a/data/language-specs/boo.lang
+++ b/data/language-specs/boo.lang
@@ -31,19 +31,19 @@
   </metadata>
 
   <styles>
-    <style id="comment" _name="Comment" map-to="def:comment"/>
-    <style id="multiline-string" _name="Multiline string" map-to="def:string"/>
-    <style id="string" _name="String" map-to="def:string"/>
-    <style id="regex" _name="Regular Expression" map-to="def:string"/>
-    <style id="namespace" _name="Namespace" map-to="def:preprocessor"/>
-    <style id="type" _name="Data Type" map-to="def:type"/>
-    <style id="definition" _name="Definition" map-to="def:keyword"/>
-    <style id="keyword" _name="Keyword" map-to="def:keyword"/>
-    <style id="special-variable"     _name="Special Variable"      map-to="def:identifier"/>
-    <style id="null-value" _name="Null Value" map-to="def:special-constant"/>
-    <style id="boolean" _name="Boolean" map-to="def:boolean"/>
-    <style id="number" _name="Number" map-to="def:number"/>
-    <style id="builtin" _name="Builtin Function" map-to="def:builtin"/>
+    <style id="comment"           _name="Comment"             map-to="def:comment"/>
+    <style id="multiline-string"  _name="Multiline string"    map-to="def:string"/>
+    <style id="string"            _name="String"              map-to="def:string"/>
+    <style id="regex"             _name="Regular Expression"  map-to="def:string"/>
+    <style id="namespace"         _name="Namespace"           map-to="def:preprocessor"/>
+    <style id="type"              _name="Data Type"           map-to="def:type"/>
+    <style id="definition"        _name="Definition"          map-to="def:keyword"/>
+    <style id="keyword"           _name="Keyword"             map-to="def:keyword"/>
+    <style id="special-variable"  _name="Special Variable"    map-to="def:identifier"/>
+    <style id="null-value"        _name="Null Value"          map-to="def:special-constant"/>
+    <style id="boolean"           _name="Boolean"             map-to="def:boolean"/>
+    <style id="number"            _name="Number"              map-to="def:number"/>
+    <style id="builtin"           _name="Builtin Function"    map-to="def:builtin"/>
   </styles>
 
   <definitions>
@@ -234,7 +234,7 @@
 
     <context id="boo" class="no-spell-check">
       <include>
-        <context ref="def:shell-like-comment" style-ref="comment"/>
+        <context ref="def:shell-like-comment"/>
         <context ref="c-style-line-comment"/>
         <context ref="block-comment"/>
         <context ref="multiline-string"/>
diff --git a/data/language-specs/libtool.lang b/data/language-specs/libtool.lang
index 13260c3..7ad5740 100644
--- a/data/language-specs/libtool.lang
+++ b/data/language-specs/libtool.lang
@@ -43,7 +43,7 @@
             <context ref="def:single-quoted-string"/>
             <context ref="def:string"/>
             <context ref="def:shell-like-comment"/>
-            <context ref="def:decimal" style-ref="constant"/>
+            <context ref="def:decimal"/>
             <context style-ref="boolean">
               <keyword>yes</keyword>
               <keyword>no</keyword>
diff --git a/data/language-specs/po.lang b/data/language-specs/po.lang
index bb1573b..91c1b43 100644
--- a/data/language-specs/po.lang
+++ b/data/language-specs/po.lang
@@ -29,12 +29,12 @@
   </metadata>
 
   <styles>
-    <style id="comment" _name="Comment" map-to="def:comment"/>
-    <style id="location" _name="Location" map-to="def:comment"/>
-    <style id="string" _name="String" map-to="def:string"/>
-    <style id="fuzzy" _name="Fuzzy" map-to="def:note"/>
-    <style id="keyword" _name="Keyword" map-to="def:keyword"/>
-    <style id="format" _name="String Format" map-to="def:special-char"/>
+    <style id="comment"   _name="Comment"       map-to="def:comment"/>
+    <style id="location"  _name="Location"      map-to="def:comment"/>
+    <style id="string"    _name="String"        map-to="def:string"/>
+    <style id="fuzzy"     _name="Fuzzy"         map-to="def:note"/>
+    <style id="keyword"   _name="Keyword"       map-to="def:keyword"/>
+    <style id="format"    _name="String Format" map-to="def:special-char"/>
   </styles>
 
   <definitions>
@@ -86,7 +86,7 @@
         <context ref="string"/>
         <context ref="format"/>
         <context ref="location"/>
-        <context ref="def:shell-like-comment" style-ref="comment"/>
+        <context ref="def:shell-like-comment"/>
         <context ref="keyword"/>
       </include>
     </context>
diff --git a/data/language-specs/sh.lang b/data/language-specs/sh.lang
index 7fca0c5..970665a 100644
--- a/data/language-specs/sh.lang
+++ b/data/language-specs/sh.lang
@@ -31,7 +31,6 @@
 
   <styles>
     <style id="comment"             _name="Comment"             map-to="def:comment"/>
-    <style id="shebang"             _name="Shebang"             map-to="def:shebang"/>
     <style id="function"            _name="Function"            map-to="def:function"/>
     <style id="string"              _name="String"              map-to="def:string"/>
     <style id="keyword"             _name="Keyword"             map-to="def:keyword"/>
@@ -67,8 +66,8 @@
             <match>\\</match>
         </context>
         <context ref="def:line-continue"/>
-	<context ref="variable"/>
-	<context ref="backtick-subshell"/>
+        <context ref="variable"/>
+        <context ref="backtick-subshell"/>
       </include>
     </context>
 
@@ -476,7 +475,7 @@
 
     <context id="sh" class="no-spell-check">
       <include>
-        <context ref="def:shebang" style-ref="shebang"/>
+        <context ref="def:shebang"/>
         <context ref="line-comment"/>
         <context ref="def:escape"/>
         <context ref="single-quoted-string"/>



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