parameters: (self, node_id)
docstring: When a New Node is Selected
docstring_summary: When a New Node is Selected
docstring_tokens: When a New Node is Selected
function: def node_selected_changed(self, node_id):
          """When a New Node is Selected"""
          if self.dad.user_active and not self.dad.go_bk_fw_click:
              last_index = len(self.visited_nodes_list) - 1
              if self.visited_nodes_idx != last_index: del self.visited_nodes_list[self.visited_nodes_idx+1:last_index+1]
              if node_id in self.visited_nodes_list:
                  self.visited_nodes_list.remove(node_id)
              self.visited_nodes_list.append(node_id)
              self.visited_nodes_idx = len(self.visited_nodes_list) - 1
          if node_id not in self.nodes_vectors:
              self.nodes_vectors[node_id] = []
              xml_content = self.dad.xml_handler.treestore_node_to_dom(self.dad.curr_tree_iter)
              pixbuf_table_codebox_vector = self.get_embedded_pixbufs_tables_codeboxes(self.dad.curr_buffer)
              self.nodes_vectors[node_id].append([xml_content, pixbuf_table_codebox_vector, 0])
              self.nodes_indexes[node_id] = 0 # first state
              self.nodes_indicators[node_id] = 0
function_tokens: def node_selected_changed ( self , node_id ) : if self . dad . user_active and not self . dad . go_bk_fw_click : last_index = len ( self . visited_nodes_list ) - 1 if self . visited_nodes_idx != last_index : del self . visited_nodes_list [ self . visited_nodes_idx + 1 : last_index + 1 ] if node_id in self . visited_nodes_list : self . visited_nodes_list . remove ( node_id ) self . visited_nodes_list . append ( node_id ) self . visited_nodes_idx = len ( self . visited_nodes_list ) - 1 if node_id not in self . nodes_vectors : self . nodes_vectors [ node_id ] = [ ] xml_content = self . dad . xml_handler . treestore_node_to_dom ( self . dad . curr_tree_iter ) pixbuf_table_codebox_vector = self . get_embedded_pixbufs_tables_codeboxes ( self . dad . curr_buffer ) self . nodes_vectors [ node_id ] . append ( [ xml_content , pixbuf_table_codebox_vector , 0 ] ) self . nodes_indexes [ node_id ] = 0 # first state self . nodes_indicators [ node_id ] = 0