comparison src/indent.c @ 20985:020b0eade8c5

(compute_motion): If we just moved over a continuation return contin_hpos as prevhpos.
author Andreas Schwab <schwab@suse.de>
date Fri, 27 Feb 1998 09:38:41 +0000
parents 12e635300b44
children 66f5ac2310fd
comparison
equal deleted inserted replaced
20984:f27355b19aba 20985:020b0eade8c5
1465 1465
1466 val_compute_motion.bufpos = pos; 1466 val_compute_motion.bufpos = pos;
1467 val_compute_motion.bytepos = pos_byte; 1467 val_compute_motion.bytepos = pos_byte;
1468 val_compute_motion.hpos = hpos; 1468 val_compute_motion.hpos = hpos;
1469 val_compute_motion.vpos = vpos; 1469 val_compute_motion.vpos = vpos;
1470 val_compute_motion.prevhpos = prev_hpos; 1470 if (contin_hpos && prev_hpos == 0)
1471 val_compute_motion.prevhpos = contin_hpos;
1472 else
1473 val_compute_motion.prevhpos = prev_hpos;
1471 /* We alalways handle all of them here; none of them remain to do. */ 1474 /* We alalways handle all of them here; none of them remain to do. */
1472 val_compute_motion.ovstring_chars_done = 0; 1475 val_compute_motion.ovstring_chars_done = 0;
1473 1476
1474 /* Nonzero if have just continued a line */ 1477 /* Nonzero if have just continued a line */
1475 val_compute_motion.contin = (contin_hpos && prev_hpos == 0); 1478 val_compute_motion.contin = (contin_hpos && prev_hpos == 0);