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 terry.reedy
Recipients terry.reedy
Date 2018-01-23.06:57:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516690644.63.0.467229070634.issue32631@psf.upfronthosting.co.za>
In-reply-to
Content
zzdummy.py is needed for properly testing the extension mechanism.  It is intended to provide an example extension for users to follow.  When completed, enabled, and invoked, it will prefix every line of a window with some text, or remove the prefix from every line.  It would be even better to make it respect selections, as other format options do.

Needed: more comments, including what it does when enabled; docstring for z_in_event; uncomment z_in_event; code for z_out_event.

Should the extension have a different name? ZzTestExample? ZzIgnoreThis?  Changing an extension name would normally be a bad idea, as it would disable any customizations.  But I think we could do it for this one if desired.

The default insertion text could be more informative: for instance, 'ignore this' or 'see-doc' or #ignore#.  The last would make it a configurable comment/uncomment.  Normally, changing a default is a no-no, as it can mess up user configurations.  But since the current text is inoperative, this should not matter here.

The menu defs are commented out because enabling the extension currently has no effect, so the menu entries would be useless.

***There should be help text for the extension tab explaining the presence and operation of the extension.  (This should have  been done already.)

Extension tests, last revised in #31480, will likely need more changes.
History
Date User Action Args
2018-01-23 06:57:24terry.reedysetrecipients: + terry.reedy
2018-01-23 06:57:24terry.reedysetmessageid: <1516690644.63.0.467229070634.issue32631@psf.upfronthosting.co.za>
2018-01-23 06:57:24terry.reedylinkissue32631 messages
2018-01-23 06:57:23terry.reedycreate