src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 29 Jan 2024 06:42:17 +0000 (14:42 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 29 Jan 2024 06:42:17 +0000 (14:42 +0800)
src/Builder4/Editor.vala

src/Builder4/Editor.bjs
src/Builder4/Editor.vala

index 6935cb9..c046e28 100644 (file)
           "    buf.create_tag (\"variable\", \"weight\", Pango.Weight.BOLD, \"foreground\", \"#A518B5\");",
           "    ",
           "    ",
-          "    buf.create_tag (\"variable\", \"weight\", Pango.Weight.BOLD, \"foreground\", \"#A518B5\");",
+          "    buf.create_tag (\"ERR\", \"weight\", Pango.Weight.BOLD, \"foreground\", \"#A518B5\");",
+          "\tbuf.create_tag (\"WARN\", \"weight\", Pango.Weight.BOLD, \"foreground\", \"#A518B5\");",
+          "\tbuf.create_tag (\"DEPR\", \"weight\", Pango.Weight.BOLD, \"foreground\", \"#A518B5\");",
+          "",
           "}",
           ""
          ],
index 5547348..d40d7b2 100644 (file)
@@ -834,7 +834,10 @@ public class Editor : Object
                            buf.create_tag ("variable", "weight", Pango.Weight.BOLD, "foreground", "#A518B5");
                            
                            
-                           buf.create_tag ("variable", "weight", Pango.Weight.BOLD, "foreground", "#A518B5");
+                           buf.create_tag ("ERR", "weight", Pango.Weight.BOLD, "foreground", "#A518B5");
+                               buf.create_tag ("WARN", "weight", Pango.Weight.BOLD, "foreground", "#A518B5");
+                               buf.create_tag ("DEPR", "weight", Pango.Weight.BOLD, "foreground", "#A518B5");
+                       
                        }
 
                        //listeners