Terry J. Reedy <tjre...@udel.edu> added the comment:
editor.py, line 809, IDENTCHARS Used in the immediately following def colorize_syntax_error on line 814. if char and char in self.IDENTCHARS: text.tag_add("ERROR", pos + " wordstart", pos) I believe the intent is to color the part of an identifier that precedes the character marked. At the moment, I cannot think of how to trigger such a situation. I would have to add some console prints to investigate. Maybe this should get the autoexpand fix, but maybe it is dead code. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45692> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com