Get rid of TextBlockUserData for symbol mathing code

(pyqode.python auto indent mode will need adaptations)
Fix AttributeError in some strange circumstances