[gtksourceview] Revert "language-specs: add 'text' to def.lang"



commit 250d6f3636a39ac5165b1c383602de851d66df93
Author: Sébastien Wilmet <swilmet informatique-libre be>
Date:   Fri Jul 29 07:45:04 2022 +0200

    Revert "language-specs: add 'text' to def.lang"
    
    This reverts commit 452af6eb8fb5b2f8345a5029a4c295fda171d617.
    
    No longer needed, latex.lang doesn't use it anymore, it was added to
    latex.lang by mistake.
    
    Other reasons include:
    - Adding things to def.lang should be done with caution, because any
      other lang file can depend on it and it can be hard to remove
      afterwards. There can also be external lang files. I don't think
      def.lang is part of the API "contract" of GSV, but still.
    
    - Normal (general) text should not be highlighted in the first place.
      The style schemes are there for changing the style/color of normal
      text.

 data/language-specs/def.lang | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/data/language-specs/def.lang b/data/language-specs/def.lang
index e3ea6ede..ebe1d183 100644
--- a/data/language-specs/def.lang
+++ b/data/language-specs/def.lang
@@ -34,9 +34,6 @@
          Finally a style scheme may also define language
          specific styles. -->
 
-    <!-- General text, only currently used by Latex -->
-    <style id="text"                name="Text"/>
-
     <!-- Comment group -->
     <!-- Any comment -->
     <style id="comment"             name="Comment"/>


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