mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Make HOME/END keys work to leave math sub-insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9798 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
75e4975063
commit
7f1066c339
@ -1,3 +1,9 @@
|
|||||||
|
2005-04-09 Martin Vermeer <martin.vermeer@hut.fi>
|
||||||
|
|
||||||
|
* math_gridinset.C (doDispatch):
|
||||||
|
* math_nestinset.C (doDispatch): enable HOME/END keys to skip
|
||||||
|
out of inset (adding cur.undispatched())
|
||||||
|
|
||||||
2005-04-09 Martin Vermeer <martin.vermeer@hut.fi>
|
2005-04-09 Martin Vermeer <martin.vermeer@hut.fi>
|
||||||
|
|
||||||
* math_colorinset.C (draw): fix crash and cursor positioning.
|
* math_colorinset.C (draw): fix crash and cursor positioning.
|
||||||
|
@ -1210,6 +1210,7 @@ void MathGridInset::doDispatch(LCursor & cur, FuncRequest & cmd)
|
|||||||
cur.pos() = 0;
|
cur.pos() = 0;
|
||||||
} else {
|
} else {
|
||||||
cmd = FuncRequest(LFUN_FINISHED_LEFT);
|
cmd = FuncRequest(LFUN_FINISHED_LEFT);
|
||||||
|
cur.undispatched();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -1230,6 +1231,7 @@ void MathGridInset::doDispatch(LCursor & cur, FuncRequest & cmd)
|
|||||||
cur.pos() = cur.lastpos();
|
cur.pos() = cur.lastpos();
|
||||||
} else {
|
} else {
|
||||||
cmd = FuncRequest(LFUN_FINISHED_RIGHT);
|
cmd = FuncRequest(LFUN_FINISHED_RIGHT);
|
||||||
|
cur.undispatched();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -555,6 +555,7 @@ void MathNestInset::doDispatch(LCursor & cur, FuncRequest & cmd)
|
|||||||
cur.pos() = 0;
|
cur.pos() = 0;
|
||||||
} else {
|
} else {
|
||||||
cmd = FuncRequest(LFUN_FINISHED_LEFT);
|
cmd = FuncRequest(LFUN_FINISHED_LEFT);
|
||||||
|
cur.undispatched();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -575,6 +576,7 @@ void MathNestInset::doDispatch(LCursor & cur, FuncRequest & cmd)
|
|||||||
cur.pos() = cur.lastpos();
|
cur.pos() = cur.lastpos();
|
||||||
} else {
|
} else {
|
||||||
cmd = FuncRequest(LFUN_FINISHED_RIGHT);
|
cmd = FuncRequest(LFUN_FINISHED_RIGHT);
|
||||||
|
cur.undispatched();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user