comparison src/redisplay.c @ 32:e04119814345 r19-15b99

Import from CVS: tag r19-15b99
author cvs
date Mon, 13 Aug 2007 08:52:56 +0200
parents ec9a17fef872
children 8b8b7f3559a2
comparison
equal deleted inserted replaced
31:b9328a10c56c 32:e04119814345
2422 bi_pos = bi_find_next_newline_no_quit (b, data.bi_bufpos, 1); 2422 bi_pos = bi_find_next_newline_no_quit (b, data.bi_bufpos, 1);
2423 2423
2424 /* If the cursor is past the truncation line then we 2424 /* If the cursor is past the truncation line then we
2425 make it appear on the truncation glyph. If we've hit 2425 make it appear on the truncation glyph. If we've hit
2426 the end of the buffer then we also make the cursor 2426 the end of the buffer then we also make the cursor
2427 appear unless eob is immediately preceeded by a 2427 appear unless eob is immediately preceded by a
2428 newline. In that case the cursor should actually 2428 newline. In that case the cursor should actually
2429 appear on the next line. */ 2429 appear on the next line. */
2430 if (data.cursor_type == CURSOR_ON 2430 if (data.cursor_type == CURSOR_ON
2431 && data.bi_cursor_bufpos >= data.bi_bufpos 2431 && data.bi_cursor_bufpos >= data.bi_bufpos
2432 && (data.bi_cursor_bufpos < bi_pos || 2432 && (data.bi_cursor_bufpos < bi_pos ||