parameters: (self, msg)
docstring: Handler for tree synchronization.
          Uses a one shot timer to optimize multiple fast caret movement events.
docstring_summary: Handler for tree synchronization.
          Uses a one shot timer to optimize multiple fast caret movement events.
docstring_tokens: Handler for tree synchronization . Uses a one shot timer to optimize multiple fast caret movement events .
function: def OnSyncTree(self, msg):
          """Handler for tree synchronization.
          Uses a one shot timer to optimize multiple fast caret movement events.
  
          """
          if not self._ShouldUpdate():
              return # If panel is not visible don't update
          
          if self._sync_timer.IsRunning():
              self._sync_timer.Stop()
          
          #One shot timer for tree sync
          self._sync_timer.Start(300, True)
function_tokens: def OnSyncTree ( self , msg ) : if not self . _ShouldUpdate ( ) : return # If panel is not visible don't update if self . _sync_timer . IsRunning ( ) : self . _sync_timer . Stop ( ) #One shot timer for tree sync self . _sync_timer . Start ( 300 , True )