[Idle-dev] Unicode within IDLE
Neil Hodgson
neilh@scintilla.org
Tue, 4 Apr 2000 00:33:22 +1000
I was pleased to find that IDLE is already using a Unicode based text
widget so is able to display non-roman strings.
However, the syntax colouring is disturbed by this. It appears to be
confused by the difference in length when measuring bytes or characters.
If:
s="?"#H
is the first line of the file with ? replaced by a two byte UTF-8
character, the string highlight colour extends over the '#' and the
colouring of the rest of the file is out by one.
Neil