'Check if we\'ve moved to a new line.  If we have, then remove
all colorization from the line we moved to, and re-colorize
the line that we moved from.'

def _check_analyze(self, *e):

    linenum = int(self._textwidget.index('insert').split('.')[0])
    if (linenum != self._linenum):
        self._clear_tags(linenum)
        self._analyze_line(self._linenum)
        self._linenum = linenum
