Commit Graph

6 Commits

Author SHA1 Message Date
Guido van Rossum 3dd3689215 Code by Mark Hammond to format paragraphs embedded in comments.
Read the comments (which I reformatted using the new feature :-)
for some limitations.
1999-06-10 17:48:02 +00:00
Guido van Rossum 318a70d976 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.
1999-05-03 15:49:52 +00:00
Guido van Rossum 629082edd6 Change paragraph width limit to 70 (like Emacs M-Q). 1999-01-07 00:12:15 +00:00
Guido van Rossum 1e899cdeaa Hm. There was a boundary condition error at the end of the file too. 1999-01-04 21:19:09 +00:00
Guido van Rossum e911c3e20c Added Unix Meta-q key binding;
fix find_paragraph when at start of file.
1999-01-04 16:34:41 +00:00
Guido van Rossum 94e82ceeac Add new extension to reformat a (text) paragraph. 1999-01-04 13:04:54 +00:00