Problem: When using bracketed paste line breaks are not respected.
Solution: Turn CR characters into a line break if the text is being
inserted. (closes #1404)
case PASTE_INSERT:
if (stop_arrow() == OK)
{
- ins_char_bytes(buf, idx);
+ c = buf[0];
+ if (idx == 1 && (c == CAR || c == K_KENTER || c == NL))
+ ins_eol(c);
+ else
+ ins_char_bytes(buf, idx);
AppendToRedobuffLit(buf, idx);
}
break;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 230,
/**/
229,
/**/