On Thursday, April 30, 2015 at 9:17:33 AM UTC-5, Ben Fritz wrote:
> On Thursday, April 30, 2015 at 2:27:30 AM UTC-5, mattn wrote:
> > > 
> > > You lost me here. I would either expect this to select "foo\", or if it's 
> > > smart, to do the same as before and select just the outer parenthesis. 
> > > Neither happens. In the first line (double quote case) nothing at all 
> > > happens. In the second line, "foo\)'" is selected, which is obviously 
> > > wrong here.
> > 
> > I'm thinking it should work only for cpo+=M.
> 
> OK I think I get why the second line (with single quotes) selects the wrong 
> text. Vim is smart enough to match backslashes, but not smart enough to treat 
> "\%(" as a backslashed parenthesis. Maybe this needs fixing somehow?
> 
> But, why does the first line (with double quotes) not select anything at all?

Also, why would you expect it to not select anything at all, rather than 
selecting the outermost parens?

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui