Sample/Editor.bjs
authorAlan Knowles <alan@akbkhome.com>
Fri, 29 Oct 2010 10:06:19 +0000 (18:06 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 29 Oct 2010 10:06:19 +0000 (18:06 +0800)
Sample/Editor.bjs

index 04660d8..5531932 100644 (file)
@@ -67,7 +67,8 @@
                                             "pack": "set_buffer",
                                             "xtype": "Buffer",
                                             "|toString": "function() {\n      var s = new Gtk.TextIter();\n    var e = new Gtk.TextIter();\n    this.el.get_start_iter(s);\n    this.el.get_end_iter(e);\n    return this.el.get_text(s,e,true);\n}\n",
-                                            "|xns": "GtkSource"
+                                            "|xns": "GtkSource",
+                                            "|": "function() {\n    \n}\n"
                                         }
                                     ]
                                 }