src/Builder4/Editor.bjs
authorAlan <alan@roojs.com>
Wed, 27 Mar 2024 09:03:28 +0000 (17:03 +0800)
committerAlan <alan@roojs.com>
Wed, 27 Mar 2024 09:03:28 +0000 (17:03 +0800)
src/Builder4/Editor.vala

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

index b474d99..5569ca3 100644 (file)
             "\tif (help.contents.size > 1) {",
             "\t\tthis.el.tooltip_markup =  GLib.Markup.escape_text(help.contents.get(1).value);",
             "\t} else {",
-            "\t\tthis.el.tooltip_markup = GLib.Markup.escape_text((help.contents.get(0).value)",
+            "\t\tthis.el.tooltip_markup = GLib.Markup.escape_text(help.contents.get(0).value);",
             "\t}",
             "\tthis.el.set_markup(string.joinv(\" \",str));",
             "\t",
index ec52d80..21d4908 100644 (file)
@@ -598,7 +598,7 @@ public class Editor : Object
                        if (help.contents.size > 1) {
                                this.el.tooltip_markup =  GLib.Markup.escape_text(help.contents.get(1).value);
                        } else {
-                               this.el.tooltip_markup = GLib.Markup.escape_text((help.contents.get(0).value)
+                               this.el.tooltip_markup = GLib.Markup.escape_text(help.contents.get(0).value);
                        }
                        this.el.set_markup(string.joinv(" ",str));