def styleneeded_callback(self, args):
     ''' Called by scintilla to inform the lexer 
         about the need to style the document.
         If document is of interest call main logic (logfile_lexer) function
         Ensures that the start position is really the first position per line
     '''
     if self.is_lexer_doc():
         startPos = editor.getEndStyled()
         lineNumber = editor.lineFromPosition(startPos)
         startPos = editor.positionFromLine(lineNumber)
         self.logfile_lexer(startPos, args['position'])
 def styleneeded_callback(self,args):
     ''' Called by scintilla to inform the lexer 
         about the need to style the document.
         If document is of interest call main logic (column_lexer) function
         Ensures that the start position is really the first position per line
     '''
     if self.is_lexer_doc():
         startPos = editor.getEndStyled()
         lineNumber = editor.lineFromPosition(startPos)
         startPos = editor.positionFromLine(lineNumber)
         self.column_lexer(startPos, args['position'])