Re: Substitution of metacharacters

2012-06-02 Thread Christian Brabandt
On Sa, 26 Mai 2012, Christian Brabandt wrote: On Do, 24 Mai 2012, Christian Brabandt wrote: On Do, 24 Mai 2012, Bob von Knobloch wrote: Hi, I've searched all over but can't find an answer. How can one perform commands like ':%s/\n/\r\r/g' (replacing newlines or tabs etc.) in the gui's

Re: Substitution of metacharacters

2012-05-26 Thread Christian Brabandt
On Do, 24 Mai 2012, Christian Brabandt wrote: On Do, 24 Mai 2012, Bob von Knobloch wrote: Hi, I've searched all over but can't find an answer. How can one perform commands like ':%s/\n/\r\r/g' (replacing newlines or tabs etc.) in the gui's 'find and replace' dialogue? Not possible, the

Re: Substitution of metacharacters

2012-05-25 Thread Bob von Knobloch
On 25/05/12 04:18, Tony Mechelynck wrote: If the menus don't do what you want, use the keyboard. Typing :%s/\n/\r\r snip Best regards, Tony. Thanks Tony, I know how to use the keyboard to get what I want done, it just niggles when the gui doesn't work the same way, especially when

Re: Substitution of metacharacters

2012-05-25 Thread Bob von Knobloch
On 24/05/12 22:14, Christian Brabandt wrote: Hi Bob! On Do, 24 Mai 2012, Bob von Knobloch wrote: Hi, I've searched all over but can't find an answer. How can one perform commands like ':%s/\n/\r\r/g' (replacing newlines or tabs etc.) in the gui's 'find and replace' dialogue? Not

Re: Substitution of metacharacters

2012-05-25 Thread Tony Mechelynck
On 25/05/12 09:38, Bob von Knobloch wrote: On 25/05/12 04:18, Tony Mechelynck wrote: If the menus don't do what you want, use the keyboard. Typing :%s/\n/\r\r snip Best regards, Tony. Thanks Tony, I know how to use the keyboard to get what I want done, it just niggles when the gui

Re: Substitution of metacharacters

2012-05-25 Thread Chris Jones
On Thu, May 24, 2012 at 10:53:27AM EDT, Tim Chase wrote: On 05/24/12 08:34, Bob von Knobloch wrote: Hi, I've searched all over but can't find an answer. How can one perform commands like ':%s/\n/\r\r/g' (replacing newlines or tabs etc.) in the gui's 'find and replace' dialogue? Playing

Re: Substitution of metacharacters

2012-05-25 Thread Christian Brabandt
On Fri, May 25, 2012 11:32, Chris Jones wrote: Search/replace behavior in the GUI is not only different than in the console version but appears to lead to inconsistencies: try a search ‘.*’ for instance and compare with ‘\s\s’. I think the search/replace dialog uses the \V atom to make the

Re: Substitution of metacharacters

2012-05-25 Thread Chris Jones
On Fri, May 25, 2012 at 05:47:35AM EDT, Christian Brabandt wrote: On Fri, May 25, 2012 11:32, Chris Jones wrote: Search/replace behavior in the GUI is not only different than in the console version but appears to lead to inconsistencies: try a search ‘.*’ for instance and compare with

Re: Substitution of metacharacters

2012-05-25 Thread Chris Jones
On Fri, May 25, 2012 at 06:00:46AM EDT, Chris Jones wrote: Anyway, I don't use the GUI so it doesn't affect me but I was thinking that there may be real world cases where possible inconsistencies (if there are any) might lead to false positives/negatives.. making the search functionality

Re: Substitution of metacharacters

2012-05-25 Thread Ben Fritz
On Thursday, May 24, 2012 3:14:35 PM UTC-5, Christian Brabandt wrote: Looking at the dialog, it could possibly also get some more possibilities, e.g. a confirm/undo button, perhaps even more. Well, there's this in todo.txt: 7 More features in the find/replace dialog: - regexp on/off

Re: Substitution of metacharacters

2012-05-25 Thread Ben Fritz
On Friday, May 25, 2012 5:00:46 AM UTC-5, Chris Jones wrote: On Fri, May 25, 2012 at 05:47:35AM EDT, Christian Brabandt wrote: On Fri, May 25, 2012 11:32, Chris Jones wrote: Search/replace behavior in the GUI is not only different than in the console version but appears to lead to

Re: Substitution of metacharacters

2012-05-25 Thread Chris Jones
On Fri, May 25, 2012 at 10:10:49AM EDT, Ben Fritz wrote: On Friday, May 25, 2012 5:00:46 AM UTC-5, Chris Jones wrote: [..] Do you mean that the code overrides this setting for the GUI search..? Yes...kind of. The code for the GUI automatically inserts \V in the search pattern, which is a

Re: Substitution of metacharacters

2012-05-25 Thread Tim Chase
On 05/25/12 14:17, Chris Jones wrote: Yes...kind of. The code for the GUI automatically inserts \V in the search pattern, which is a flag for very nomagic, which is not even settable via an option. The \V flag will override any 'magic' option setting. So it appears to be.. Maybe the doc

Substitution of metacharacters

2012-05-24 Thread Bob von Knobloch
Hi, I've searched all over but can't find an answer. How can one perform commands like ':%s/\n/\r\r/g' (replacing newlines or tabs etc.) in the gui's 'find and replace' dialogue? Many thanks, Bob -- The Sun is out, the sky is blue. It's time to drive the MR2. -- You received this message from

Re: Substitution of metacharacters

2012-05-24 Thread Ben Fritz
On Thursday, May 24, 2012 8:34:03 AM UTC-5, Bob von Knobloch wrote: Hi, I've searched all over but can't find an answer. How can one perform commands like ':%s/\n/\r\r/g' (replacing newlines or tabs etc.) in the gui's 'find and replace' dialogue? I tried replacing tabs, and also replacing

RE: Substitution of metacharacters

2012-05-24 Thread Roy Fulbright
Date: Thu, 24 May 2012 07:56:08 -0700 From: fritzophre...@gmail.com To: vim_use@googlegroups.com CC: v...@vim.org Subject: Re: Substitution of metacharacters On Thursday, May 24, 2012 8:34:03 AM UTC-5, Bob von Knobloch wrote: Hi, I've searched all over but can't find an answer. How

Re: Substitution of metacharacters

2012-05-24 Thread Bob von Knobloch
On 24/05/12 19:20, Roy Fulbright wrote: Date: Thu, 24 May 2012 07:56:08 -0700 From: fritzophre...@gmail.com To: vim_use@googlegroups.com CC: v...@vim.org Subject: Re: Substitution of metacharacters On Thursday, May 24, 2012 8:34:03 AM UTC-5, Bob von Knobloch wrote: Hi, I've searched all

Re: Substitution of metacharacters

2012-05-24 Thread Christian Brabandt
Hi Bob! On Do, 24 Mai 2012, Bob von Knobloch wrote: Hi, I've searched all over but can't find an answer. How can one perform commands like ':%s/\n/\r\r/g' (replacing newlines or tabs etc.) in the gui's 'find and replace' dialogue? Not possible, the replace text is escaped: ,[ gui.c ]-

Re: Substitution of metacharacters

2012-05-24 Thread Tony Mechelynck
On 24/05/12 15:34, Bob von Knobloch wrote: Hi, I've searched all over but can't find an answer. How can one perform commands like ':%s/\n/\r\r/g' (replacing newlines or tabs etc.) in the gui's 'find and replace' dialogue? Many thanks, Bob If the menus don't do what you want, use the