Lines Matching +full:end +full:- +full:of +full:- +full:charge

3  * Copyright 1998-2016,2017 Free Software Foundation, Inc.                  *
5 * Permission is hereby granted, free of charge, to any person obtaining a *
6 * copy of this software and associated documentation files (the *
10 * copies of the Software, and to permit persons to whom the Software is *
14 * in all copies or substantial portions of the Software. *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
20 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
21 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
24 * Except as contained in this notice, the name(s) of the above copyright *
31 * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 *
33 * and: Thomas E. Dickey 1996-on *
56 struct ldat *line = &(win->_line[win->_cury]); in NCURSES_EXPORT()
58 int start = win->_curx; in NCURSES_EXPORT()
59 int end = start + n - 1; in NCURSES_EXPORT() local
61 if (end > win->_maxx) in NCURSES_EXPORT()
62 end = win->_maxx; in NCURSES_EXPORT()
64 CHANGED_RANGE(line, start, end); in NCURSES_EXPORT()
73 if (start > 0 && isWidecExt(line->text[start])) { in NCURSES_EXPORT()
74 SetChar2(line->text[start - 1], ' '); in NCURSES_EXPORT()
76 if (end < win->_maxx && isWidecExt(line->text[end + 1])) { in NCURSES_EXPORT()
77 SetChar2(line->text[end + 1], ' '); in NCURSES_EXPORT()
80 while (end >= start) { in NCURSES_EXPORT()
81 line->text[end] = wch; in NCURSES_EXPORT()
82 end--; in NCURSES_EXPORT()