From: Alan Knowles Date: Sun, 24 Mar 2024 03:07:45 +0000 (+0800) Subject: src/Builder4/Editor.bjs X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=d065e1e92bed07c24ed0c32c51946719449e6ea2;p=roobuilder src/Builder4/Editor.bjs src/Builder4/Editor.vala --- diff --git a/src/Builder4/Editor.bjs b/src/Builder4/Editor.bjs index fa6156862..338e2c5ea 100644 --- a/src/Builder4/Editor.bjs +++ b/src/Builder4/Editor.bjs @@ -619,7 +619,7 @@ "\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}", diff --git a/src/Builder4/Editor.vala b/src/Builder4/Editor.vala index cb6420d39..6d4327900 100644 --- a/src/Builder4/Editor.vala +++ b/src/Builder4/Editor.vala @@ -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; }