Niki Upload
A.V.Kuznetsov
kuzn at umps.mephi.ru
Thu Jan 10 09:07:21 CET 2008
On Wed, 9 Jan 2008 20:38:08 -0800 (PST)
YT Lim <ytlim23 at yahoo.com.au> wrote:
> >
> > * A.V.Kuznetsov wrote (2007-09-04 11:30):
> > >See, for example,
> > >http://nedit.hackvalue.nl/niki/index.php/ManOutputHighlighting
> >
> > Good job!
> >
> > Still, any reason to duplicate the effort found here:
> > http://nedit.hackvalue.nl/niki/index.php/NMan
> >
>
> Installed both and nedit complained about wrong number of
> parameters in: substring(man, search_string(man, "\n", 0) +1)
>
> Without understanding much, I simply modified it to:
> substring(man, 0, search_string(man, "\n", 0) +1)
>
> A new windows was created, but the macro was stuck with:
> Reformatting vi(1), please wait...
>
> Any idea what was the problem?
>
> /Y.T.
Sorry, my error.
substring(string, start) is called with two arguments.
That is allowed for CVS NEdit while NEdit-5.5 requires
the third one is the substring end.
Please, change your correction to
man = substring(man, search_string(man, "\n", 0) +1, length(man))
Alexey
More information about the Discuss
mailing list