mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
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 |
||
|---|---|---|
| .. | ||
| audiopy | ||
| bgen | ||
| faqwiz | ||
| freeze | ||
| idle | ||
| modulator | ||
| pynche | ||
| scripts | ||
| versioncheck | ||
| webchecker | ||
| world | ||
| README | ||
This directory contains a number of Python programs that are useful while building or extending Python. bgen Generate complete extension modules from a description. Still under development! faqwiz FAQ Wizard. See http://grail.cnri.reston.va.us/cgi-bin/faqw.py for a live example. freeze Create a stand-alone executable from a Python program. modulator Interactively generate boiler plate for an extension module. Works easiest if you have Tk. scripts A number of useful single-file programs, e.g. tabnanny.py (by Tim Peters), which checks for inconsistent mixing of tabs and spaces. versioncheck A tool to automate checking whether you have the latest version of a package (by Jack Jansen). webchecker A link checker for web sites.