mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Our default for paste operation should preserve newlines.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg220061.html
This commit is contained in:
parent
de74acf92e
commit
05276c5bea
@ -4891,8 +4891,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
if (theClipboard().isInternal())
|
||||
pasteFromStack(cur, bv->buffer().errorList("Paste"), 0);
|
||||
else if (theClipboard().hasTextContents()) {
|
||||
if (pasteClipboardText(cur, bv->buffer().errorList("Paste"),
|
||||
!cur.paragraph().parbreakIsNewline(),
|
||||
if (pasteClipboardText(cur, bv->buffer().errorList("Paste"), 0,
|
||||
Clipboard::AnyTextType))
|
||||
tryGraphics = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user