Ticket #1710: newlines are lost when pasting multiline text in editor.
commit3f19a0eeb94e0bb431d832bf8dedfcb172c4ccc2
authorAndrew Borodin <aborodin@vmail.ru>
Fri, 13 Nov 2009 09:03:33 +0000 (13 12:03 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Fri, 13 Nov 2009 09:03:33 +0000 (13 12:03 +0300)
tree90e1ab5aaf9ab8af3faacebd95f0fc9f5f766233
parentd36c635d3834dc46883ca9719f671f0f8c20c1ab
Ticket #1710: newlines are lost when pasting multiline text in editor.

When pasting multiline text with shift+mouse newline characters
are lost. Pasted text is not shown before any key is pressed.

Middle-mouse pasting in mc requires shift being pressed to keep mc
from interpreting the button press itself, so it is passing on to
xterm/gpm. That has the nice side effect that the pasted enter
characters are automatically shift-enter, which was simply interpreted
as newline-without-autoindent. However, the keybinding for shift-enter
have been lost in the course of #212 - it simply does nothing,
and consequently text is pasted without newlines.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
misc/mc.keymap.default
misc/mc.keymap.emacs