src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Sat, 24 Sep 2022 10:02:11 +0000 (18:02 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 24 Sep 2022 10:02:11 +0000 (18:02 +0800)
src/Builder4/Editor.vala

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

index b62d38b..fa84d66 100644 (file)
         "    ",
         "    this.el.set_mark_attributes (\"DEPR\", dattrs, 1);",
         "    ",
+        "    ",
+        "    this.el.get_space_drawer().set_matrix( new Variant(",
+        "    ",
+        "    Gtk.SourceSpaceTypeFlags.NEWLINE",
+        "    ",
+        "    ",
         "    "
        ],
        "* pack" : "add",
index 9325c81..03a71b7 100644 (file)
@@ -568,6 +568,11 @@ Gtk.SourceDrawSpacesFlags.SPACE;
                 });
                 
                 this.el.set_mark_attributes ("DEPR", dattrs, 1);
+                
+                
+                this.el.get_space_drawer().set_matrix( new Variant(
+                
+                Gtk.SourceSpaceTypeFlags.NEWLINE
 
             //listeners
             this.el.key_release_event.connect( (event) => {