> > I've just managed to get scintilla into an endless loop (doesn't happen > > in scite though). > > Break execution inside a debugger and produce a stack trace. Since > Scintilla's replace commands work on ranges rather than strings, I > expect the loop is in the calling code.
Yep! You're right. It's my bad. After doing each iteration of the replace I wasn't moving the start point of the next range to the end of the text just replaced - it was left at the beginning - so if the new text contained the text to replace, text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to text to replace... You get the picture =] > > Neil > > _______________________________________________ > Scintilla-interest mailing list > [email protected] > http://mailman.lyra.org/mailman/listinfo/scintilla-interest _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
