sakane@d4.bsd.nes.nec.co.jp (Yoshinobu Sakane) writes:
> $B2,ED(B $BJY$5$s(B> $B&U(B(.. ) at Wed, 31 May 2000 16:52:40 JST
> >$B;d$N4*0c$$$G$J$1$l$P!"(B[w3m-dev 00735, 00738, 00739, 00740] $B$,4^$^$l$F(B
> >$B$$$F!"(B[w3m-dev 00758] $B$O4^$^$l$F$$$J$$$H;W$&$N$G$9$,!D(B
>
> $B;d$N=P$7$?(B [w3m-dev 00759] $B$8$c$J$$$G$7$g$&$+!)(B
[w3m-dev 00740] $B$,H4$1$F$^$7$?$M(B.
[w3m-dev 00759] $B$@$1$G$J$/(B, [w3m-dev 00675] $B$N0lIt(B, [w3m-dev 00732] $B$b(B
$BF~$C$A$c$C$F$^$9$,(B, $B<j$GH4$$$F$*$/$D$b$j$,K:$l$F$^$7$?(B.
# $B<j$GEv$FK:$l$F$$$k$N$O7k9=$"$k$+$b(B.
[w3m-dev 00758] $B$O%Q%C%A$N0J2<$NItJ,$N(B 15 $B9TL\IU6a$,3:Ev$7$F$$$k$H;W$&(B
$B$N$G$9$,(B, $B4V0c$C$F$^$9$+(B?
-------------------------------------------------------------------
@@ -749,13 +721,16 @@
if (CharType(p[i]) == PC_KANJI1)
delta = 2;
#endif /* JP_CHARSET */
- if (i >= buf->currentLine->len - delta)
+ if (i + delta >= l->len)
return;
- if (buf->visualpos >= COLS - delta)
- columnSkip(buf, COLS / 2);
- buf->visualpos = COLPOS(l, i + delta) - buf->currentColumn;
+ cpos = COLPOS(l, i + delta);
+ buf->visualpos = cpos - buf->currentColumn;
+ buf->pos = i + delta;
+ if (buf->visualpos >= COLS) {
+ columnSkip(buf, (COLS / 2) + (buf->visualpos - COLS) - (buf->visualpos - COLS) % (COLS / 2));
+ buf->visualpos = cpos - buf->currentColumn;
+ }
buf->cursorX = buf->visualpos;
- buf->pos += delta;
}
void
-------------------------------------------------------------------
--
$B2,It9nLi(B
e-mail: okabek@guitar.ocn.ne.jp
------------------------------------------------
This archive was generated by hypermail 2b29 : Wed Jul 19 2000 - 10:30:56 CDT