On Fri, Oct 13, 2006 at 05:38:29PM +0200, Abdelrazak Younes wrote: > After a double check of the code this would also mean that we use Cursor > instead of DocIterator in LyXText::drawSelection(), bruteFind() and > bruteFind3(). AFAIK, Cursor iteration is slower than DocIterator > iteration, isn't it?
Should be the same. Nevertheless I nowadays thinkn that'd be better to separate the BufferView member from the cursor and pass a BufferView reference/pointer when needed explicitly. This probably starts with dispatch() and trickles down through a significant chunk of LyX core code... Andre'