This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Todd.Rovito
Recipients Todd.Rovito
Date 2013-07-11.17:56:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373565372.76.0.397397850212.issue18429@psf.upfronthosting.co.za>
In-reply-to
Content
While working on a test case for Format Paragraph (http://bugs.python.org/issue18226) I noted that format paragraph doesn't work with comment blocks when a comment block is selected.  The fix is very simple by changing one line:
if first and last:
    data = text.get(first, last)
    comment_header = get_comment_header(data)
else:

The comment_header line was changed from comment_header = ''.  This forces the format paragraph extension to always do "just a normal text format".  Attached is a patch but I would like to explore the bug in more detail and make sure all cases are covered.
History
Date User Action Args
2013-07-11 17:56:12Todd.Rovitosetrecipients: + Todd.Rovito
2013-07-11 17:56:12Todd.Rovitosetmessageid: <1373565372.76.0.397397850212.issue18429@psf.upfronthosting.co.za>
2013-07-11 17:56:12Todd.Rovitolinkissue18429 messages
2013-07-11 17:56:12Todd.Rovitocreate