Alfredo Braunstein wrote: > [Btw, it should be super easy to implement regex searches right? It > [would > suffice to implement operator* that gives pit->getChar(pos) if pos < > size and some '\n' if pos == size. In that way one could also search > for newlines etc. Methink.]
Great idea. ... it would returns 0 if no match is found. ... how about it returning META_INSET if you're searching for an inset of a particular 'flavour'? >> implementing Cursor in terms of PosIterator? > > My concern is that Andr� has already started implementing Cursor in > his own way, and maybe his way is better. [In any case, they are > very similar I think]. Why not produce a rationale description of the differences between the two, where one is better than the other etc. > But I don't want to interfere with anybody's > plans. If I could only get Andr� to comment what are his future > plans on this... I think that Andr� has always valued your input. You're one of the few guys contributing code in areas he's interested in and he seems to value the company. At least that's how I read the comment at the end of this message: http://marc.theaimsgroup.com/?l=lyx-devel&m=105402651120545&w=2 -- Angus
