mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Reset caret size when inserting text over a selection
This commit is contained in:
parent
b940a81520
commit
c286cad565
@ -1959,8 +1959,10 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
// "auto_region_delete", which defaults to
|
// "auto_region_delete", which defaults to
|
||||||
// true (on).
|
// true (on).
|
||||||
|
|
||||||
if (lyxrc.auto_region_delete && cur.selection())
|
if (lyxrc.auto_region_delete && cur.selection()) {
|
||||||
cutSelection(cur, false);
|
cutSelection(cur, false);
|
||||||
|
cur.setCurrentFont();
|
||||||
|
}
|
||||||
cur.clearSelection();
|
cur.clearSelection();
|
||||||
|
|
||||||
for (char_type c : cmd.argument())
|
for (char_type c : cmd.argument())
|
||||||
|
Loading…
Reference in New Issue
Block a user