null/demo.local.php
[gitlive] / FixBug.bjs
index 457c56f..f9c4e3b 100644 (file)
                                                             "indent_width": 4,
                                                             "pack": "add",
                                                             "xtype": "TextView",
-                                                            "|show": "function() {\n    \n}\n",
                                                             "|auto_indent": true,
                                                             "|editable": "false",
                                                             "|init": "function() {\n    XObject.prototype.init.call(this);\n    var description = Pango.font_description_from_string(\"monospace\");\n\n    description.set_size(8000);\n    this.el.modify_font(description);\n\n}\n",
                                                             "|load": "function(str) {\n\n// show the help page for the active node..\n \n\n\n \n    this.el.get_buffer().set_text(str, str.length);\n \n    \n     var buf = this.el.get_buffer();\n     \n     \n    \n}",
+                                                            "|show": "function(p) {\n     var line =  [\n            'Status : ' +   p.status_name,\n            'ID : ' +   p.id,\n            '',\n            'Summary :  ' +  p.summary,\n             '' + \n             p.description,\n         ].join(\"\\n\")   ;\n         print(line);\n         \n         \n         // can not do rich text due to so many missing features..\n          this.el.get_buffer().set_text(line, line.length);\n \n}\n",
                                                             "|show_line_numbers": true,
                                                             "|xns": "Gtk",
                                                             "items": [