"cursor_changed" : [
" ( ) => {",
" print(\"LEFT TREE Cursor Changed\\n\");",
- "\tif (!this.button_is_pressed && !this.key_is_pressed) {",
+ "\t//if (!this.button_is_pressed && !this.key_is_pressed) {",
"\t\t// then event was started by some other action",
"\t\t// which should manually trigger all the events..",
- "\t\tprint(\"SKIPPING select - no button or key pressed\\n\");",
- "\t\treturn;",
- "\t}",
+ "\t//\tprint(\"SKIPPING select - no button or key pressed\\n\");",
+ "\t//\treturn;",
+ "\t//}",
"",
"",
" if (this.blockChanges) { // probably not needed.. ",
});
this.el.cursor_changed.connect( ( ) => {
print("LEFT TREE Cursor Changed\n");
- if (!this.button_is_pressed && !this.key_is_pressed) {
+ //if (!this.button_is_pressed && !this.key_is_pressed) {
// then event was started by some other action
// which should manually trigger all the events..
- print("SKIPPING select - no button or key pressed\n");
- return;
- }
+ // print("SKIPPING select - no button or key pressed\n");
+ // return;
+ //}
if (this.blockChanges) { // probably not needed..
" ",
" this.node_selected = sel;",
" ",
- " this.updateGreySelection(scroll);",
+ " // this.updateGreySelection(scroll);",
" ",
" ",
" ",
" }",
" ltree.view.setCursor(tp, \"editor\");",
" // ltree.view.el.set_cursor(new Gtk.TreePath.from_string(tp), null, false); ",
- " this.nodeSelected(node,false);",
+ " //this.nodeSelected(node,false);",
" ",
" // scrolling is disabled... as node selection calls scroll 10ms after it changes.",
" ",
}
ltree.view.setCursor(tp, "editor");
// ltree.view.el.set_cursor(new Gtk.TreePath.from_string(tp), null, false);
- this.nodeSelected(node,false);
+ //this.nodeSelected(node,false);
// scrolling is disabled... as node selection calls scroll 10ms after it changes.
this.node_selected = sel;
- this.updateGreySelection(scroll);
+ // this.updateGreySelection(scroll);
});
// node selected -- only by clicking?
this.left_tree.node_selected.connect((sel, source) => {
- if (source == "editor") {
- return;
- }
+ //if (source == "editor") {
+ // return;
+ //}
if (this.file.xtype == "Roo") {
this.window_rooview.sourceview.nodeSelected(sel,true); // foce scroll.
} else {