lasgout...@lyx.org writes: > Author: lasgouttes > Date: Mon Oct 12 17:20:23 2009 > New Revision: 31600 > URL: http://www.lyx.org/trac/changeset/31600 > > Log: > disable the del-suppresses-equation-label-at-end feature (not easy to > describe, is it?) when there is a selection
This is candidate for branch too. JMarc > > Modified: > lyx-devel/trunk/src/mathed/InsetMathHull.cpp > > Modified: lyx-devel/trunk/src/mathed/InsetMathHull.cpp > ============================================================================== > --- lyx-devel/trunk/src/mathed/InsetMathHull.cpp Mon Oct 12 10:28:02 > 2009 (r31599) > +++ lyx-devel/trunk/src/mathed/InsetMathHull.cpp Mon Oct 12 17:20:23 > 2009 (r31600) > @@ -1259,7 +1259,8 @@ > case LFUN_WORD_DELETE_FORWARD: > case LFUN_CHAR_DELETE_FORWARD: > if (col(cur.idx()) + 1 == ncols() > - && cur.pos() == cur.lastpos()) { > + && cur.pos() == cur.lastpos() > + && !cur.selection()) { > if (!label(row(cur.idx())).empty()) { > cur.recordUndoInset(); > label(row(cur.idx()), docstring());