mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Set cursor font after pasting to PassThru inset (#12592)
(cherry picked from commit 09c72d7c8d
)
This commit is contained in:
parent
276a80fccb
commit
d21042299f
@ -334,6 +334,12 @@ void InsetText::doDispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
// attributes.
|
// attributes.
|
||||||
// FIXME: Change only the pasted paragraphs
|
// FIXME: Change only the pasted paragraphs
|
||||||
fixParagraphsFont();
|
fixParagraphsFont();
|
||||||
|
// This might be needed in general, but we currently
|
||||||
|
// only have evidence for PassThru (latex_font),
|
||||||
|
// see #12592
|
||||||
|
if (isPassThru())
|
||||||
|
// assure current cursor font is latex
|
||||||
|
cur.setCurrentFont();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LFUN_INSET_SPLIT:
|
case LFUN_INSET_SPLIT:
|
||||||
|
@ -52,6 +52,7 @@ What's new
|
|||||||
|
|
||||||
* DOCUMENT INPUT/OUTPUT
|
* DOCUMENT INPUT/OUTPUT
|
||||||
|
|
||||||
|
- Set cursor font after pasting to PassThru (e.g., ERT) inset (bug 12592).
|
||||||
|
|
||||||
|
|
||||||
* USER INTERFACE
|
* USER INTERFACE
|
||||||
|
Loading…
Reference in New Issue
Block a user