[all e/illume based] copy/paste

Petr Vanek vanous at penguin.cz
Sun May 3 10:34:49 CEST 2009


On Thu, 30 Apr 2009 17:41:16 +1000
Carsten Haitzler (The Rasterman) <raster at rasterman.com> (CH(R) wrote:

>On Thu, 30 Apr 2009 07:24:55 +0100 Tilman Baumann
><tilman at baumann.name> said:
>
>> 
>> On 27 Apr 2009, at 02:07, Carsten Haitzler (The Rasterman) wrote:
>> 
>> > On Mon, 27 Apr 2009 00:38:20 +0200 "Marco Trevisan (Treviño)"
>> > <mail at 3v1n0.net 
>> > >
>> > said:
>> >>
>> >> Recent versions of Elementary include a support for easy
>> >> copy/paste actions. I think it's a good example that could be
>> >> ported also to other
>> >> toolkits (wich mostly need patches, BTW).
>> >
>> > yes. just hold down your finger for a second and presto.. menu
>> > (you can paste
>> > or begin selecting things). the selection is "malleable" ie the  
>> > first time when
>> > there is no selection you define it with a drag. but after that  
>> > pressing near
>> > the beginning or end of the selection allows you to adjust it to
>> > get it right.
>> > press and hold again for menu to "copy" or "cut" or "cancel".
>> > cancel just
>> > clears the selection and does nothing. copy and cut put that  
>> > selection in the
>> > copy buffer, and going anywhere else to paste will paste it.
>> 
>> Wow, nice! But it does only work in text edit fields.
>> Not for example in the sms message view text area. Feature
>> request... ;)
>
>that's up to the app - but if you look at elementary_test - anchorview
>and anchoirblock both are not text fields u can type in - but they are
>selectable (they allow selection) and the same thing works. it's up to
>the app to allow selection or not - use anchorview widget or just a
>simpel label (labels don't allow selection).


it works really well, thank you. the only issue i can see is that if the
text field is somewhere in the middle of the screen then the popup menu
goes under the topbar...

Petr








More information about the community mailing list