id : "view",
indent_width : 4,
pack : "add",
- show : function() {
-
- },
auto_indent : true,
editable : false,
init : function() {
+ },
+ show : function(p) {
+ var line = [
+ 'Status : ' + p.status_name,
+ 'ID : ' + p.id,
+ '',
+ 'Summary : ' + p.summary,
+ '' +
+ p.description,
+ ].join("\n") ;
+ print(line);
+
+
+ // can not do rich text due to so many missing features..
+ this.el.get_buffer().set_text(line, line.length);
+
},
show_line_numbers : true,
items : [