Both Richard and JMarc think it is incorrect. See
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184758.html
void Cursor::setSelection()
{
setSelection(true);
void Cursor::setSelection()
{
setSelection(true);
- // A selection with no contents is not a selection
- // FIXME: doesnt look ok
if (idx() == normalAnchor().idx() &&
pit() == normalAnchor().pit() &&
pos() == normalAnchor().pos())
if (idx() == normalAnchor().idx() &&
pit() == normalAnchor().pit() &&
pos() == normalAnchor().pos())