mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
* also forward delete numbering in math hull
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23643 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ae89d2a6b4
commit
b1ac3c3e83
@ -1184,10 +1184,17 @@ void InsetMathHull::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
case LFUN_WORD_DELETE_FORWARD:
|
||||
case LFUN_CHAR_DELETE_FORWARD:
|
||||
if (col(cur.idx()) + 1 == ncols()
|
||||
&& cur.pos() == cur.lastpos()
|
||||
&& !label(row(cur.idx())).empty()) {
|
||||
&& cur.pos() == cur.lastpos()) {
|
||||
if (!label(row(cur.idx())).empty()) {
|
||||
cur.recordUndoInset();
|
||||
label(row(cur.idx()), docstring());
|
||||
} else if (numbered(row(cur.idx()))) {
|
||||
cur.recordUndoInset();
|
||||
numbered(row(cur.idx()), false);
|
||||
} else {
|
||||
InsetMathGrid::doDispatch(cur, cmd);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
InsetMathGrid::doDispatch(cur, cmd);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user