[Python-checkins] CVS: python/dist/src/Tools/idle AutoIndent.py EditorWindow.py FormatParagraph.py UndoDelegator.py

Guido van Rossum guido@cnri.reston.va.us
Mon, 3 May 1999 11:49:53 -0400 (EDT)


Update of /projects/cvsroot/python/dist/src/Tools/idle
In directory eric:/projects/python/develop/guido/src/Tools/idle

Modified Files:
	AutoIndent.py EditorWindow.py FormatParagraph.py 
	UndoDelegator.py 
Log Message:
Tim Peters writes:

I'm still unsure, but couldn't stand the virtual event trickery so tried a
different sin (adding undo_block_start/stop methods to the Text instance in
EditorWindow.py).  Like it or not, it's efficient and works <wink>.  Better
idea?

Give the attached a whirl.  Even if you hate the implementation, I think
you'll like the results.  Think I caught all the "block edit" cmds,
including Format Paragraph, plus subtler ones involving smart indents and
backspacing.