Re: [patch] fix possible bug in searchpair

2016-01-14 Fir de Conversatie Christian Brabandt
Hi Bram! On Mi, 13 Jan 2016, Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > > > Bram, > > > > this patch fies an issue reported by David Fishburn about a misbehaving > > > > searchpairpos(). I traced it back to syntax.c and I think what happens > > > > is, that Vim gets confused

Re: [patch] fix possible bug in searchpair

2016-01-13 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > > > Bram, > > > this patch fies an issue reported by David Fishburn about a misbehaving > > > searchpairpos(). I traced it back to syntax.c and I think what happens > > > is, that Vim gets confused about the current syntax stack. I added a > > > newstyle test, that

Re: [patch] fix possible bug in searchpair

2016-01-12 Fir de Conversatie Christian Brabandt
Hi Bram! On Di, 12 Jan 2016, Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > Bram, > > this patch fies an issue reported by David Fishburn about a misbehaving > > searchpairpos(). I traced it back to syntax.c and I think what happens > > is, that Vim gets confused about the current

Re: [patch] fix possible bug in searchpair

2016-01-12 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > Bram, > this patch fies an issue reported by David Fishburn about a misbehaving > searchpairpos(). I traced it back to syntax.c and I think what happens > is, that Vim gets confused about the current syntax stack. I added a > newstyle test, that lets the problem

Re: [patch] fix possible bug in searchpair

2016-01-12 Fir de Conversatie David Fishburn
On Mon, Jan 11, 2016 at 3:06 PM, Christian Brabandt wrote: > Bram, > this patch fies an issue reported by David Fishburn about a misbehaving > searchpairpos(). I traced it back to syntax.c and I think what happens > is, that Vim gets confused about the current syntax stack. I

[patch] fix possible bug in searchpair

2016-01-11 Fir de Conversatie Christian Brabandt
Bram, this patch fies an issue reported by David Fishburn about a misbehaving searchpairpos(). I traced it back to syntax.c and I think what happens is, that Vim gets confused about the current syntax stack. I added a newstyle test, that lets the problem reproduce, given the plugin from David.