[EMAIL PROTECTED] writes:

> Author: poenitz
> Date: Wed Sep 24 23:27:41 2008
> New Revision: 26527
>
> URL: http://www.lyx.org/trac/changeset/26527
> Log:
> streamlining setter syntax. using mutable references seems a bit
> outlandish compared to the rest of LyX

> -     d->cursor_.selection() = false;
> +     d->cursor_.setSelection(false);

Are you aware that setSelection does more than setting directly
selection()? In particular, it refuses to set the selection when the
cursor and the anchor are at the same place. This is a situation that
happens in some places, and there is a risk of breaking selection.

JMarc

Reply via email to