[wxPython-users] Re: wx.py.shell multiline input
Robin Dunn
robin at alldunn.com
Sun Mar 4 16:22:00 PST 2007
Christian wrote:
> Robin Dunn wrote:
>>>> In SPE, which uses pyshell, you can do this by selecting code and
>>>> pressing Ctrl+Shift+E. I know this functionality is added in pyshell
>>>> as I proposed it Robin and he implemented it. I don't remember if
>>>> there is a shortcut associated in pyshell as well.
>>> I just read that SHIFT+CTRL+V will do the same in a plain pyshell.
>>> However I
>>> still would prefer if plain pasting worked - on unix with
>>> middlde-mouse, without
>>> even a key stroke. I guess it is the STC that somehow eats the 'return
>>> keys. Any
>>> ideas how to change that?
>> The 'Paste Plus' command also has code that strips off leading
>> interpreter prompt characters ('>>>' or '...') so it allows you to
>> copy/paste to/from docs, emails, etc. that may be showing an interactive
>> interpreter session. It seems to me however that the regular paste
>> should be able to do the Right Thing for a multi-line text value, at
>> least when there are no prompts that need stripping. If somebody wants
>> to check into this and come up with something I'll review a patch.
>
> Where do I have to look for? In STC or shell?
I believe Py overrides all of STC's built-in clipboard functionality.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list