src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Sun, 24 Mar 2024 03:07:45 +0000 (11:07 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 24 Mar 2024 03:07:45 +0000 (11:07 +0800)
src/Builder4/Editor.vala

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

index fa61568..338e2c5 100644 (file)
                "\t",
                "\t// what's the character at the iter?",
                "\tvar str = back.get_text(iter);",
-               "\tstr= iter.get_text(forward);",
+               "\tstr += iter.get_text(forward);",
                "\tif (str.strip().length < 1) {",
                "\t\treturn;",
                "\t}",
index cb6420d..6d43279 100644 (file)
@@ -1335,7 +1335,7 @@ public class Editor : Object
                                
                                // what's the character at the iter?
                                var str = back.get_text(iter);
-                               str= iter.get_text(forward);
+                               str += iter.get_text(forward);
                                if (str.strip().length < 1) {
                                        return;
                                }