> >1. mouse_motion returns (true, true) when a single paragraph need to
> >be updated. (BufferView.h/C)
> >
> >    /// \sa WorkArea
> >    /// \retval (false, xxx) if no redraw is required
> >    /// \retval (true, true) if a single paragraph redraw is needed
> >    /// \retval (true, false) if a full redraw is needed
> >    std::pair<bool, bool> workAreaDispatch(FuncRequest const & ev);
>
> Please understand that the second boolean (singlepar) is ignored in case
> of a single view. It is there only for the multiple view case, but I
> don't know yet how I will use that information in order to optimize the
> multiple view case.

Is this documented somewhere (comment)?

No. The comment is pretty misleading and I actually followed it and
expected single paragraph repaint.

Abdel, please change the comment.

Bo

Reply via email to