• Guido van Rossum's avatar
    Tim Peters strikes again: · 26c2cb4b
    Guido van Rossum yazdı
    Ho ho ho -- that's trickier than it sounded!  The colorizer is working with
    "line.col" strings instead of Text marks, and the absolute coordinates of
    the point of interest can change across the self.update call (voice of
    baffled experience, when two quick backspaces no longer fooled it, but a
    backspace followed by a quick ENTER did <wink>).
    
    Anyway, the attached appears to do the trick.  CPU usage goes way up when
    typing quickly into a long triple-quoted string, but the latency is fine for
    me (a relatively fast typist on a relatively slow machine).  Most of the
    changes here are left over from reducing the # of vrbl names to help me
    reason about the logic better; I hope the code is a *little* easier to
    26c2cb4b
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...