[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: Cursor placement with mouse in long lines with wrapp
From: |
Kim F. Storm |
Subject: |
Re: address@hidden: Cursor placement with mouse in long lines with wrapped tab] |
Date: |
Thu, 30 Nov 2006 21:01:51 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> Please consider this patch instead (it won't interfere with other
> multi-glyph characters):
Looks ok to me.
>
> *** emacs/src/xdisp.c.~1.1130.~ 2006-11-26 16:47:55.000000000 -0500
> --- emacs/src/xdisp.c 2006-11-30 14:03:33.000000000 -0500
> ***************
> *** 6828,6834 ****
> break;
>
> case MOVE_LINE_CONTINUED:
> ! it->continuation_lines_width += it->current_x;
> break;
>
> default:
> --- 6828,6835 ----
> break;
>
> case MOVE_LINE_CONTINUED:
> ! it->continuation_lines_width +=
> ! (it->c == '\t') ? it->last_visible_x : it->current_x;
> break;
>
> default:
--
Kim F. Storm <address@hidden> http://www.cua.dk