[gtksourceview/wip/latex] latex.lang: remove in-inline-math context



commit 67743f6329cb626f1d5c7b37b5bed52c0837e8c8
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu Nov 28 17:32:38 2013 +0100

    latex.lang: remove in-inline-math context
    
    Use the in-math context, which is the same.

 data/language-specs/latex.lang |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/data/language-specs/latex.lang b/data/language-specs/latex.lang
index 68d7a64..e4845c5 100644
--- a/data/language-specs/latex.lang
+++ b/data/language-specs/latex.lang
@@ -354,14 +354,6 @@
       </include>
     </context>
 
-    <context id="in-inline-math" class="no-spell-check">
-      <include>
-        <context ref="common-commands"/>
-        <context ref="special-char"/>
-        <context ref="generic-command"/>
-      </include>
-    </context>
-
     <context id="math-1" style-ref="math" class="no-spell-check">
       <start>\$\$</start>
       <end>\$\$</end>
@@ -388,7 +380,7 @@
       <include>
         <context sub-pattern="0" where="start" style-ref="math-bound"/>
         <context sub-pattern="0" where="end" style-ref="math-bound"/>
-        <context ref="in-inline-math"/>
+        <context ref="in-math"/>
       </include>
     </context>
 
@@ -398,7 +390,7 @@
       <include>
         <context sub-pattern="0" where="start" style-ref="math-bound"/>
         <context sub-pattern="0" where="end" style-ref="math-bound"/>
-        <context ref="in-inline-math"/>
+        <context ref="in-math"/>
       </include>
     </context>
 


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