John Levon wrote:

>  Thu, Jul 17, 2003 at 06:20:08PM +0000, Angus Leeming wrote:
> 
>> What exactly is
>> word_ = bufferview()->nextWord(newval_);
>> doing. What is newval_ and why is it being updated?
> 
> It is allgedly the position of the word in the whole document (for the
> progress bar). It doesn't work very well.

Thanks.

Can you help fill in the gaps here.

        /// FIXME
        void toggleSelection(bool = true);
        /// FIXME
        void beforeChange(LyXText *);

I've looked at LyXScreen::toggleSelection but I'm not much wiser.

I take it that 'clearSelection' does just that?

void BufferView::Pimpl::beforeChange(LyXText * text)
{
        toggleSelection();
        text->clearSelection();
}

-- 
Angus

Reply via email to