using shell variables with ctrl+y
Daliyot, Maoz
maoz.daliyot at intel.com
Mon Oct 12 14:59:02 CEST 2009
Thanks Kaye and Hernault!
I was on vacation and just now got to implement your suggestions.
It works just fine.
Many thanks!
Maoz
-----Original Message-----
From: discuss-bounces at nedit.org [mailto:discuss-bounces at nedit.org] On Behalf Of Aldric L'Hernault
Sent: Thursday, October 01, 2009 1:04 PM
To: General NEdit discussion list
Subject: Re: using shell variables with ctrl+y
Offer Kaye wrote:
> You can create a simple macro with the contents:
> open(shell_command( "echo -n " get_selection() , "" ))
>
Great ! I've just tested it and I suggest to use get_selection("any").
It allows using selection from anywhere, either into nedit or outside
(terminal, etc...) as regular "open selected" does.
Regards,
Aldric L'Hernault
--
NEdit Discuss mailing list - Discuss at nedit.org
http://www.nedit.org/mailman/listinfo/discuss
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
More information about the Discuss
mailing list