summaryrefslogtreecommitdiffstats
path: root/Tools/idle/ColorDelegator.py
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of old IDLE. Lib/idlelib rules!Guido van Rossum2003-06-141-246/+0
|
* Apply diff2.txt from SF patch http://www.python.org/sf/572113Walter Dörwald2002-09-111-2/+1
| | | | | | | | (with one small bugfix in bgen/bgen/scantools.py) This replaces string module functions with string methods for the stuff in the Tools directory. Several uses of string.letters etc. are still remaining.
* Don't use __debug__ as if it were some module global. Use DEBUGGuido van Rossum2001-03-221-15/+15
| | | | instead.
* Color all word instances of "as" after "import", & on the same line, as ifTim Peters2001-01-191-0/+13
| | | | keywords. Cheap approximation to the truth.
* rename the global IdleConfParser object from IdleConf to idleconfJeremy Hylton2000-03-071-2/+2
| | | | | | standard usage is now from IdleConf import idleconf replace : with = in config.txt
* migrate to use of IdleConf and config files to set optionsJeremy Hylton2000-03-031-21/+10
| | | | | | | | | | | | | | | | | | | | | | | idle.py: Load the config files before anything else happens XXX Need to define standard way to get files relative to the IDLE install dir PyShell.py: ColorDelegator.py: Get color defns out of IdleConf instead of IdlePrefs EditorWindow.py: Replace hard-coded font & window size with config options Get extension names via IdleConf.getextensions extend.py: Obsolete. Extensions defined in config file. ParenMatch.py: Use config file for extension options. Revise comment about parser requirements. Simplify logic on find returning None.
* Tim Peters strikes again:Guido van Rossum1999-04-261-11/+18
| | | | | | | | | | | | | | 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
* Super-elegant patch by Tim Peters that speeds up colorizationGuido van Rossum1999-04-221-1/+4
| | | | | | | | dramatically (up to 15 times he claims). Works by reading more than one line at a time, up to 100-line chunks (starting with one line and then doubling up to the limit). On a typical machine (e.g. Tim's P5-166) this doesn't reduce interactive responsiveness in a noticeable way.
* Patch by Tim Peters to speed up colorizing of big multiline strings.Guido van Rossum1999-04-211-4/+4
|
* Color preferences code by Loren Luke (massaged by me somewhat)Guido van Rossum1999-04-201-10/+21
|
* Hack to close a window that is colorizing.Guido van Rossum1999-01-121-1/+12
|
* Checking in IDLE 0.2.Guido van Rossum1999-01-021-74/+81
| | | | | | | | | | | | Much has changed -- too much, in fact, to write down. The big news is that there's a standard way to write IDLE extensions; see extend.txt. Some sample extensions have been provided, and some existing code has been converted to extensions. Probably the biggest new user feature is a new search dialog with more options, search and replace, and even search in files (grep). This is exactly as downloaded from my laptop after returning from the holidays -- it hasn't even been tested on Unix yet.
* Raise priority of 'sel' tag so its foreground (on Windows) will takeGuido van Rossum1998-10-191-0/+3
| | | | | | | priority over text colorization (which on Windows is almost the same color as the selection background). Define a tag and color for breakpoints ("BREAK").
* Initial checking of Tk-based Python IDE.Guido van Rossum1998-10-101-0/+203
Features: text editor with syntax coloring and undo; subclassed into interactive Python shell which adds history.