summaryrefslogtreecommitdiffstats
path: root/Tools/webchecker/webchecker.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-04-26 22:20:38 (GMT)
committerGuido van Rossum <guido@python.org>1999-04-26 22:20:38 (GMT)
commit26c2cb4bd1be9163962d9fee5dc893da6fcfe440 (patch)
treeaf6efaf78b32c3996f0206c282a6f1f071e50506 /Tools/webchecker/webchecker.py
parentc020e2d36c1c4b745a524294b85ee010a7d822de (diff)
downloadcpython-26c2cb4bd1be9163962d9fee5dc893da6fcfe440.zip
cpython-26c2cb4bd1be9163962d9fee5dc893da6fcfe440.tar.gz
cpython-26c2cb4bd1be9163962d9fee5dc893da6fcfe440.tar.bz2
Tim Peters strikes again:
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
Diffstat (limited to 'Tools/webchecker/webchecker.py')
0 files changed, 0 insertions, 0 deletions