<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Tools/idle/FormatParagraph.py, branch v2.2a3</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Tools/idle/FormatParagraph.py?h=v2.2a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Tools/idle/FormatParagraph.py?h=v2.2a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-01-17T08:48:39Z</updated>
<entry>
<title>Whitespace normalization.</title>
<updated>2001-01-17T08:48:39Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-01-17T08:48:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=70c4378dbcfdcbeef6fb3aa348f32ed862fe8eb7'/>
<id>urn:sha1:70c4378dbcfdcbeef6fb3aa348f32ed862fe8eb7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add close() method that breaks a cycle.</title>
<updated>1999-06-25T16:02:22Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-06-25T16:02:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e689f0087ed3db8a5102ac4afdf147b50cd971e0'/>
<id>urn:sha1:e689f0087ed3db8a5102ac4afdf147b50cd971e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tim Peters smart.patch:</title>
<updated>1999-06-11T15:03:00Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-06-11T15:03:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=13205609c59845fa37c455839b0ec0030588465b'/>
<id>urn:sha1:13205609c59845fa37c455839b0ec0030588465b</id>
<content type='text'>
EditorWindow.py:

+ Added get_tabwidth &amp; set_tabwidth "virtual text" methods, that get/set the
widget's view of what a tab means.

+ Moved TK_TABWIDTH_DEFAULT here from AutoIndent.

+ Renamed Mark's get_selection_index to get_selection_indices (sorry, Mark,
but the name was plain wrong &lt;wink&gt;).

FormatParagraph.py:  renamed use of get_selection_index.

AutoIndent.py:

+ Moved TK_TABWIDTH_DEFAULT to EditorWindow.

+ Rewrote set_indentation_params to use new VTW get/set_tabwidth methods.

+ Changed smart_backspace_event to delete whitespace back to closest
preceding virtual tab stop or real character (note that this may require
inserting characters if backspacing over a tab!).

+ Nuked almost references to the selection tag, in favor of using
get_selection_indices.  The sole exception is in set_region, for which no
"set_selection" abstraction has yet been agreed upon.

+ Had too much fun using the spiffy new features of the format-paragraph
cmd.
</content>
</entry>
<entry>
<title>Code by Mark Hammond to format paragraphs embedded in comments.</title>
<updated>1999-06-10T17:48:02Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-06-10T17:48:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3dd36892151c231accedb4cbd85a189900d6f3d6'/>
<id>urn:sha1:3dd36892151c231accedb4cbd85a189900d6f3d6</id>
<content type='text'>
Read the comments (which I reformatted using the new feature :-)
for some limitations.
</content>
</entry>
<entry>
<title>Tim Peters writes:</title>
<updated>1999-05-03T15:49:52Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-05-03T15:49:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=318a70d976fbf225de3485bbbc61b7fe1f24f4a2'/>
<id>urn:sha1:318a70d976fbf225de3485bbbc61b7fe1f24f4a2</id>
<content type='text'>
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 &lt;wink&gt;.  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.
</content>
</entry>
<entry>
<title>Change paragraph width limit to 70 (like Emacs M-Q).</title>
<updated>1999-01-07T00:12:15Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-01-07T00:12:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=629082edd6c19553f5b84d68e54b73616c852c35'/>
<id>urn:sha1:629082edd6c19553f5b84d68e54b73616c852c35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Hm.  There was a boundary condition error at the end of the file too.</title>
<updated>1999-01-04T21:19:09Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-01-04T21:19:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1e899cdeaaef273d461b52cec04b554ef8c451b9'/>
<id>urn:sha1:1e899cdeaaef273d461b52cec04b554ef8c451b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added Unix Meta-q key binding;</title>
<updated>1999-01-04T16:34:41Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-01-04T16:34:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e911c3e20cfa324e95f49d033cfe636543cce8cb'/>
<id>urn:sha1:e911c3e20cfa324e95f49d033cfe636543cce8cb</id>
<content type='text'>
fix find_paragraph when at start of file.
</content>
</entry>
<entry>
<title>Add new extension to reformat a (text) paragraph.</title>
<updated>1999-01-04T13:04:54Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-01-04T13:04:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=94e82ceeac8437b951685811d96971bd6e9797ac'/>
<id>urn:sha1:94e82ceeac8437b951685811d96971bd6e9797ac</id>
<content type='text'>
</content>
</entry>
</feed>
