[wingide-users] Commandline args for transformation of selected text

Wingware Support support at wingware.com
Mon Sep 10 12:04:00 MDT 2012


Joe Moudrik wrote:
> I started with wing after using gvim as my "IDE" and I am therefore 
> using vi-bindings a lot. One thing that has been a bother in Wing is 
> the unability to specify complex arguments for external commands.
> For example, I would like to transform some text to have the text "two 
> apples" at the beginning:
> 1) I select some text using the Visual mode (V and arrows)
> 2) then I press : and specify the command:
> `<,`> : ! sed "s/^/two apples/"
> 3) and press enter
>
> Unfortunately, this does not work, because of the double comma (") (' 
> does not work either).
>
> Is it somehow possible to specify complex arguments like this?
>
> For simple commands, this is not a problem, because commands without " 
> work (e.g. ! cat -n)
>

I've just released a patch for Wing 4.1.8-2 that will fix this.  To get 
it do Check for Updates in the Help menu.

Thanks for reporting this.  Please let me know if you run into other 
problems with this.

-- 

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com


More information about the wingide-users mailing list