'Go back and get the preceding style.
@returns {tuple} with values (pos, char, style)
Returns None for both char and style, when out of characters to look
at and there is still no previous style found.'

def getPrecedingPosCharStyle(self, current_style=None, ignore_styles=None, max_look_back=200):

    if (current_style is None):
        current_style = self._styleCache[self._cachePos]
    try:
        new_ignore_styles = [current_style]
        if (ignore_styles is not None):
            new_ignore_styles += list(ignore_styles)
        return self.getPrevPosCharStyle(new_ignore_styles, max_look_back)
    except IndexError:
        pass
    return (None, None, None)
