Re: %! item in 'statusline' option causes an error.

2009-11-02 Fir de Conversatie Dominique Pellé
Bram Moolenaar wrote: > Yukihiro Nakadaira wrote: > >> When using %! item in 'statusline' option, Vim sometimes shows an error >> and sometimes crash. >> >>    vimrc.vim: >>      set statusline=%!MyStatusLine() >>      set laststatus=2 >>      function MyStatusLine() >>        return "" >>      e

Re: help.txt: ft_sql.txt missing

2009-11-02 Fir de Conversatie Tony Mechelynck
On 05/10/09 20:18, Bram Moolenaar wrote: > > > Florian Rehnisch wrote: > >> Hi Bram, folks. >> >> I wonder if noone noticed yet that ft_sql.txt is missing >> from the overview list in help.txt. Could be after ft_ada.txt. > > You must be using a slightly old version, the line is there now. > Bram

Re: omni for CTRL-]

2009-11-02 Fir de Conversatie Tony Mechelynck
On 05/10/09 13:58, Christophe-Marie Duquesne wrote: > > I don't know who is working on that. But I can give you a tip I use in > C++: I use cscope and the cscopequickfix option, which enables me to > cycle on virtual methods with :cnext and :cprevious. Using the plugin > cscope_map.vim, I think yo

Submatch newline bug?

2009-11-02 Fir de Conversatie Clockwork Jam
I'm seeing some odd behaviour when passing a submatch to substitute() when evaluating a regexp in GVim 7.2. Say I have the following two- line file: the second line appears below If I place the cursor at the start of the file and execute the following substitution: :s/\v(the\s)(\_.*)/\=submatch

Re: [patch] Unclosable fold

2009-11-02 Fir de Conversatie Bram Moolenaar
Lech Lorens wrote: > It is possible to create an unclosable fold. > > By executing the following commands in a new instance of vim: > set fdc=5 fdm=marker fmr={{{,}}} fml=1 > normal isome text > normal yy10gp > normal osmall fold {{{ > normal ggOlarge fold {{{ > 5 > normal oanother large fold {

Re: %! item in 'statusline' option causes an error.

2009-11-02 Fir de Conversatie Bram Moolenaar
Yukihiro Nakadaira wrote: > When using %! item in 'statusline' option, Vim sometimes shows an error > and sometimes crash. > >vimrc.vim: > set statusline=%!MyStatusLine() > set laststatus=2 > function MyStatusLine() >return "" > endfunction > >$ gvim -u vimr

Re: %! item in 'statusline' option causes an error.

2009-11-02 Fir de Conversatie Dominique Pellé
Yukihiro Nakadaira wrote: > When using %! item in 'statusline' option, Vim sometimes shows an error > and sometimes crash. > >   vimrc.vim: >     set statusline=%!MyStatusLine() >     set laststatus=2 >     function MyStatusLine() >       return "" >     endfunction > >   $ gvim -u vimrc.vim >   E

%! item in 'statusline' option causes an error.

2009-11-02 Fir de Conversatie Yukihiro Nakadaira
When using %! item in 'statusline' option, Vim sometimes shows an error and sometimes crash. vimrc.vim: set statusline=%!MyStatusLine() set laststatus=2 function MyStatusLine() return "" endfunction $ gvim -u vimrc.vim Error detected while processing function

Re: [patch] Wrong value of window's top line

2009-11-02 Fir de Conversatie Lech Lorens
On 02-Nov-2009 Lech Lorens wrote: [...] In case you are unable to reproduce the problem, it can be seen in the following screen shot: http://llorens.visualserver.org/wrong-top-line/top-line-wrong.png The in-fact-nonexistent fold is the middle one in the window on the right. After Vim's behaviou

[patch] Unclosable fold

2009-11-02 Fir de Conversatie Lech Lorens
It is possible to create an unclosable fold. By executing the following commands in a new instance of vim: set fdc=5 fdm=marker fmr={{{,}}} fml=1 normal isome text normal yy10gp normal osmall fold {{{ normal ggOlarge fold {{{ 5 normal oanother large fold {{{1 You create 2 top-level folds and one

[patch] Wrong value of window's top line

2009-11-02 Fir de Conversatie Lech Lorens
If two windows show the same buffer, you edit the buffer in one of them in such a way that a fold is created in the other one that starts above the window's top line and includes the top line, it will be possible to scroll the other window in undesirable ways (e.g. it will be possible to put the cu