Deleted Added
full compact
input.c (191930) input.c (195941)
1/*
1/*
2 * Copyright (C) 1984-2008 Mark Nudelman
2 * Copyright (C) 1984-2009 Mark Nudelman
3 *
4 * You may distribute under the terms of either the GNU General Public
5 * License or the Less License, as specified in the README file.
6 *
7 * For more information about less, or for information on how to
8 * contact the author, see the README file.
9 */
10

--- 180 unchanged lines hidden (view full) ---

191 new_pos = ch_tell() - backchars;
192 endline = FALSE;
193 }
194 break;
195 }
196 c = ch_forw_get();
197 }
198
3 *
4 * You may distribute under the terms of either the GNU General Public
5 * License or the Less License, as specified in the README file.
6 *
7 * For more information about less, or for information on how to
8 * contact the author, see the README file.
9 */
10

--- 180 unchanged lines hidden (view full) ---

191 new_pos = ch_tell() - backchars;
192 endline = FALSE;
193 }
194 break;
195 }
196 c = ch_forw_get();
197 }
198
199 pdone(endline, c);
199 pdone(endline, 1);
200
201#if HILITE_SEARCH
202 if (is_filtered(base_pos))
203 {
204 /*
205 * We don't want to display this line.
206 * Get the next line.
207 */

--- 185 unchanged lines hidden (view full) ---

393 {
394 (void) ch_back_get();
395 new_pos--;
396 }
397 goto loop;
398 }
399 } while (new_pos < curr_pos);
400
200
201#if HILITE_SEARCH
202 if (is_filtered(base_pos))
203 {
204 /*
205 * We don't want to display this line.
206 * Get the next line.
207 */

--- 185 unchanged lines hidden (view full) ---

393 {
394 (void) ch_back_get();
395 new_pos--;
396 }
397 goto loop;
398 }
399 } while (new_pos < curr_pos);
400
401 pdone(endline, ch_forw_get());
401 pdone(endline, 0);
402
403#if HILITE_SEARCH
404 if (is_filtered(base_pos))
405 {
406 /*
407 * We don't want to display this line.
408 * Get the previous line.
409 */

--- 44 unchanged lines hidden ---
402
403#if HILITE_SEARCH
404 if (is_filtered(base_pos))
405 {
406 /*
407 * We don't want to display this line.
408 * Get the previous line.
409 */

--- 44 unchanged lines hidden ---