• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/libedit/

Lines Matching defs:new

225  *	draws the new virtual screen image from the current input
226 * line, then goes line-by-line changing the real image to the new
340 * Copy the new line to be the current one, and pad out with
491 * number of characters between the new and old line.
521 new: eddie> Oh, my little buggy says to me, as lurgid as
523 \beginning of line | \new last same \new end of line
524 \new first difference
538 re_update_line(EditLine *el, wchar_t *old, wchar_t *new, int i)
549 for (o = old, n = new; *o && (*o == *n); o++, n++)
555 * Find the end of both old and new
574 /* remove blanks from end of new */
617 * if the new match is longer and it's worth
641 * if the new match is longer and it's worth
732 nfd - new, nsb - new, nse - new, nls - new, ne - new));
739 re_printstr(el, "new- ne", new, ne);
741 re_printstr(el, "new-nfd", new, nfd);
767 * \new \nfd \nsb \nse \nls \ne
771 * characters to delete if < 0 (new is shorter than old, as above),
772 * or insert (new is longer than short).
805 (__F, "first diff insert at %td...\r\n", nfd - new));
809 terminal_move_to_char(el, (int)(nfd - new));
816 * insert fx chars of new starting at nfd
826 * write (nsb-nfd) - fx chars of new starting at
866 * write (nsb-nfd) chars of new starting at nfd
876 * write (nsb-nfd) chars of new starting at nfd
880 (int)((oe - old) - (ne - new)));
914 * write (nls-nse) chars of new starting at nse
922 (int)((oe - old) - (ne - new)));
930 nfd - new));
932 terminal_move_to_char(el, (int)(nfd - new));
946 * insert fx chars of new starting at nfd
955 * write (nsb-nfd) - fx chars of new starting at
973 "second diff insert at %d...\r\n", (int)(nse - new)));
974 terminal_move_to_char(el, (int)(nse - new));
978 /* insert sx chars of new starting at nse */
984 * write (nls-nse) - sx chars of new starting at
1026 * Move to the new cursor position
1188 * clear the screen buffers so that new new prompt starts fresh.
1222 terminal__putc(el, '\n'); /* go to new line */