Esempio n. 1
0
 def _reload_node(self, line, index):
     """reload info after changing node selection"""
     node = cfg.get_data_node(Position(line, index))
     self.editor.set_new_node(node)
     cursor_type = self.editor.cursor_type_position
     self._update_info(cursor_type)
     if cfg.config.DEBUG_MODE:
         self.debug_tab.show_data_node(node)
Esempio n. 2
0
 def _on_node_selected(self, line, column):
     """Handles nodeSelected event from editor."""
     node = cfg.get_data_node(Position(line, column))
     self.tree.select_data_node(node)