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

index 5531932..dca9bc0 100644 (file)
@@ -66,9 +66,9 @@
                                             "id": "buffer",
                                             "pack": "set_buffer",
                                             "xtype": "Buffer",
+                                            "|checkSyntax": "function() {\n    \n}\n",
                                             "|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",
-                                            "|": "function() {\n    \n}\n"
+                                            "|xns": "GtkSource"
                                         }
                                     ]
                                 }