parameters: (self, evt)
docstring: Records macro events
          @param evt: wx.stc.StyledTextEvent
docstring_summary: Records macro events
          @param evt: wx.stc.StyledTextEvent
docstring_tokens: Records macro events @param evt : wx . stc . StyledTextEvent
function: def OnRecordMacro(self, evt):
          """Records macro events
          @param evt: wx.stc.StyledTextEvent
  
          """
          if self.IsRecording():
              msg = evt.GetMessage()
              if msg == 2170:
                  lparm = self.GetTextRange(self.GetCurrentPos()-1, \
                                            self.GetCurrentPos())
              else:
                  lparm = evt.GetLParam()
              mac = (msg, evt.GetWParam(), lparm)
              self._macro.append(mac)
  #             if mac[0] != 2170:
  #                 self._macro.append(mac)
          else:
              evt.Skip()
function_tokens: def OnRecordMacro ( self , evt ) : if self . IsRecording ( ) : msg = evt . GetMessage ( ) if msg == 2170 : lparm = self . GetTextRange ( self . GetCurrentPos ( ) - 1 , self . GetCurrentPos ( ) ) else : lparm = evt . GetLParam ( ) mac = ( msg , evt . GetWParam ( ) , lparm ) self . _macro . append ( mac ) #             if mac[0] != 2170: #                 self._macro.append(mac) else : evt . Skip ( )