* When moving left while the cursor is positioned over a multicolumn

character at the end of the line, the bell is rung now (Bugreport by
  Matthew Fischer).
* When moving up or down to a row with different column arrangement while
  the cursor is positioned over a multicolumn character, the leftmost
  character above the original position is chosen in the new row.
This commit is contained in:
Gunnar Ritter
2005-02-15 22:39:33 +00:00
parent 280906a241
commit 1dbb3c2a66
6 changed files with 37 additions and 17 deletions

View File

@@ -73,7 +73,7 @@
#ifndef lint
#ifdef DOSCCS
static char sccsid[] = "@(#)ex_put.c 1.30 (gritter) 2/15/05";
static char sccsid[] = "@(#)ex_put.c 1.31 (gritter) 2/15/05";
#endif
#endif
@@ -745,11 +745,12 @@ dontcr:
((i=vtube[outline][outcol]) < ' ')
#else
((i=vtube[outline][outcol]) == 0)
|| (i!=MULTICOL && !printable(i&~MULTICOL))
|| (i!=MULTICOL && !printable(i&~INVBIT&~MULTICOL))
#endif
)
i = ' ';
if(i & QUOTE) /* mjm: no sign extension on 3B */
if((i & (QUOTE|INVBIT)) == QUOTE) /* mjm: no sign
extension on 3B */
i = ' ';
if ((insmode || i == MULTICOL) && ND)
tputs(ND, 0, plodput);