mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 05:40:59 +00:00
* src/Text3.cpp: record undo in specialChar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18379 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
89b5802463
commit
4976f50634
@ -244,6 +244,7 @@ namespace {
|
|||||||
|
|
||||||
void specialChar(Cursor & cur, InsetSpecialChar::Kind kind)
|
void specialChar(Cursor & cur, InsetSpecialChar::Kind kind)
|
||||||
{
|
{
|
||||||
|
recordUndo(cur);
|
||||||
cap::replaceSelection(cur);
|
cap::replaceSelection(cur);
|
||||||
cur.insert(new InsetSpecialChar(kind));
|
cur.insert(new InsetSpecialChar(kind));
|
||||||
cur.posRight();
|
cur.posRight();
|
||||||
|
Loading…
Reference in New Issue
Block a user