'Go back and get the preceding text, which is of a different style.
@returns {tuple} with values (pos, text), pos is position of first text char'

def getTextBackWithStyle(self, current_style=None, ignore_styles=None, max_text_len=200):

    old_p = self._pos
    (new_p, c, style) = self.getPrecedingPosCharStyle(current_style, ignore_styles, max_look_back=max_text_len)
    if (style is None):
        new_p = max(0, (old_p - max_text_len))
        return (new_p, self.text_range(new_p, (old_p + 1)))
    else:
        self._cachePos += 1
        return ((new_p + 1), self.text_range((new_p + 1), (old_p + 1)))
