[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/indent.c
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/src/indent.c |
Date: |
Fri, 04 Apr 2003 01:23:51 -0500 |
Index: emacs/src/indent.c
diff -c emacs/src/indent.c:1.154 emacs/src/indent.c:1.155
*** emacs/src/indent.c:1.154 Sun Jul 14 20:00:36 2002
--- emacs/src/indent.c Fri Nov 29 10:13:50 2002
***************
*** 2023,2033 ****
SET_TEXT_POS (pt, PT, PT_BYTE);
start_display (&it, w, pt);
! /* Move to the start of the line containing PT. If we don't do
! this, we start moving with IT->current_x == 0, while PT is really
! at some x > 0. The effect is, in continuation lines, that we end
! up with the iterator placed at where it thinks X is 0, while the
! end position is really at some X > 0, the same X that PT had. */
move_it_by_lines (&it, 0, 0);
if (XINT (lines) != 0)
--- 2023,2034 ----
SET_TEXT_POS (pt, PT, PT_BYTE);
start_display (&it, w, pt);
! /* Move to the start of the display line containing PT. If we don't
! do this, we start moving with IT->current_x == 0, while PT is
! really at some x > 0. The effect is, in continuation lines, that
! we end up with the iterator placed at where it thinks X is 0,
! while the end position is really at some X > 0, the same X that
! PT had. */
move_it_by_lines (&it, 0, 0);
if (XINT (lines) != 0)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/indent.c,
Miles Bader <=