Christian Brabandt wrote:
> Hi Bram!
>
> On Di, 16 Jun 2015, Bram Moolenaar wrote:
>
> > > Bram,
> > > after I run into an error message, that was caused by trying to feed
> > > back the return value from getmatches() to setmatches() (BTW: it was not
> > > obvious from the error message what the problem was, because according
> > > to the documentation this should just workâ˘), I decided to finally fix
> > > this problem in Vim so not every plugin has to take care of this itself.
> > >
> > > I guess, this must have been forgotten, when the matchaddpos() function
> > > was added.
> > >
> > > So here is a patch, that makes setmatches() aware of the matchaddpos()
> > > function, so it can now be used again to add matches, that have been
> > > created using the matchaddpos() function.
> >
> > Thanks! To avoid it being broken again, how about a test?
> > Test 63 appears to do some of this already, perhaps it's just a matter
> > of adding something there.
>
> Updated patch attached.
Thanks!
--
hundred-and-one symptoms of being an internet addict:
106. When told to "go to your room" you inform your parents that you
can't...because you were kicked out and banned.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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.