Page 1 of 1

How to copy text from TextEditor

Posted: Fri Mar 13, 2009 1:06 am
by johneric
Hi,

How does one copy text from an edit box created using the TextEditor class. I tried all the Keyboard shortcuts I know, but nothing seemed to work.

thanks,

John

Re: How to copy text from TextEditor

Posted: Fri Mar 13, 2009 11:46 am
by ted
To me it seems too rudimentary to bother using.

Under Unix/Linux/OS X, I would expect to be able to click and drag over the source to select, then in the target field/xterm just click on the middle button to paste. If that doesn't work, you're stuck with the TextEditor class's text() method
http://www.neuron.yale.edu/neuron/stati ... .html#text
which copies it to a strdef.