Terry J. Reedy added the comment:

>From your post, it was unclear to me what you are actually asking for.  From 
>reading the bitbucket thread, it appears that you want something I cannot give 
>you -- a built-in privileged position in IDLE.  However, as I said before, you 
>can write a pgz extension.  An extension can add a menu entry and get a 
>reference to the editor's tk Text widget.  It would be easy to write one that 
>added needed boilerplate at the top and bottom of a file so that it is ready 
>to run with F5.  The top part could end with
# Ignore everything above this line.
and the bottom part start with
# Ignore everything below this line.
With more effort, you could do probably do more to hide the boilerplate, but as 
I explained before, I have no motivation for that.

----------
assignee:  -> terry.reedy
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24718>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to