parameters: (self, text_buffer, text_iter, text_mark)
docstring: Highlight Focused Objects
docstring_summary: Highlight Focused Objects
docstring_tokens: Highlight Focused Objects
function: def on_textbuffer_mark_set(self, text_buffer, text_iter, text_mark):
          """Highlight Focused Objects"""
          if not text_buffer.get_has_selection():
              if self.highlighted_obj: support.set_object_highlight(self, None)
              return
          try:
              iter_sel_start, iter_sel_end = text_buffer.get_selection_bounds()
              if iter_sel_end.get_offset() - iter_sel_start.get_offset() == 1:
                  anchor = iter_sel_start.get_child_anchor()
                  if anchor != None:
                      anchor_dir = dir(anchor)
                      if "pixbuf" in anchor_dir: support.set_object_highlight(self, anchor.eventbox)
                      elif "liststore" in anchor_dir: support.set_object_highlight(self, anchor.frame)
                      elif "sourcebuffer" in anchor_dir: support.set_object_highlight(self, anchor.frame)
          except: pass
function_tokens: def on_textbuffer_mark_set ( self , text_buffer , text_iter , text_mark ) : if not text_buffer . get_has_selection ( ) : if self . highlighted_obj : support . set_object_highlight ( self , None ) return try : iter_sel_start , iter_sel_end = text_buffer . get_selection_bounds ( ) if iter_sel_end . get_offset ( ) - iter_sel_start . get_offset ( ) == 1 : anchor = iter_sel_start . get_child_anchor ( ) if anchor != None : anchor_dir = dir ( anchor ) if "pixbuf" in anchor_dir : support . set_object_highlight ( self , anchor . eventbox ) elif "liststore" in anchor_dir : support . set_object_highlight ( self , anchor . frame ) elif "sourcebuffer" in anchor_dir : support . set_object_highlight ( self , anchor . frame ) except : pass