parameters: (self, msg)
docstring: Update the position cache for buffer position changes
          @param msg: message data
docstring_summary: Update the position cache for buffer position changes
          @param msg: message data
docstring_tokens: Update the position cache for buffer position changes @param msg : message data
function: def OnUpdatePosCache(self, msg):
          """Update the position cache for buffer position changes
          @param msg: message data
  
          """
          if not self or self._ses_load:
              return
  
          if self.TopLevelParent.Id == msg.GetContext():
              data = msg.GetData()
              self.DocMgr.AddNaviPosition(data['fname'], data['prepos'])
              self.DocMgr.AddNaviPosition(data['fname'], data['pos'])
function_tokens: def OnUpdatePosCache ( self , msg ) : if not self or self . _ses_load : return if self . TopLevelParent . Id == msg . GetContext ( ) : data = msg . GetData ( ) self . DocMgr . AddNaviPosition ( data [ 'fname' ] , data [ 'prepos' ] ) self . DocMgr . AddNaviPosition ( data [ 'fname' ] , data [ 'pos' ] )