26c2cb4bd1
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 |
||
---|---|---|
.. | ||
AutoExpand.py | ||
AutoIndent.py | ||
Bindings.py | ||
ChangeLog | ||
ClassBrowser.py | ||
ColorDelegator.py | ||
Debugger.py | ||
Delegator.py | ||
EditorWindow.py | ||
FileList.py | ||
FormatParagraph.py | ||
FrameViewer.py | ||
GrepDialog.py | ||
History.py | ||
IOBinding.py | ||
IdleHistory.py | ||
IdlePrefs.py | ||
MultiScrolledLists.py | ||
NEWS.txt | ||
OutputWindow.py | ||
PathBrowser.py | ||
Percolator.py | ||
PyShell.py | ||
README.txt | ||
ReplaceDialog.py | ||
ScriptBinding.py | ||
ScrolledList.py | ||
SearchBinding.py | ||
SearchDialog.py | ||
SearchDialogBase.py | ||
SearchEngine.py | ||
Separator.py | ||
StackViewer.py | ||
TODO.txt | ||
UndoDelegator.py | ||
WidgetRedirector.py | ||
WindowList.py | ||
ZoomHeight.py | ||
eventparse.py | ||
extend.py | ||
extend.txt | ||
help.txt | ||
idle.bat | ||
idle.py | ||
idle.pyw | ||
idlever.py | ||
keydefs.py | ||
tabnanny.py | ||
testcode.py |
README.txt
IDLE 0.4 - 7 April 1999 ----------------------- For news about this release, see the file NEWS.txt. (For a more detailed change log, see the file ChangeLog.) This is an early release of IDLE, my own attempt at a Tkinter-based IDE for Python. It has the following features: - 100% pure Python - multi-window text editor with multiple undo and Python colorizing - Python shell (a.k.a. interactive interpreter) window subclass - debugger (not complete, but you can set breakpoints and step) - works on Windows and Unix (probably works on Mac too) The main program is in the file "idle"; on Windows you can use idle.pyw to avoid popping up a DOS console. Any arguments passed are interpreted as files that will be opened for editing. IDLE requires Python 1.5.2, so it is currently only usable with the Python 1.5.2 distribution (luckily, IDLE is bundled with Python 1.5.2). Please send feedback to the Python newsgroup, comp.lang.python, and cc me <guido@python.org>. --Guido van Rossum (home page: http://www.python.org/~guido/)