This bug seems to be triggered every time you enter (,[,{,". Disabling the option "Match parenthesis in text controls" (in Edit->Configure) can be used as a workaround. (this time as text mail(I hope ...))