• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/nvi/vi/

Lines Matching refs:TEXT

32 static int	 txt_abbrev(SCR *, TEXT *, CHAR_T *, int, int *, int *);
33 static void txt_ai_resolve(SCR *, TEXT *, int *);
34 static TEXT *txt_backup(SCR *, TEXTH *, TEXT *, u_int32_t *);
35 static int txt_dent(SCR *, TEXT *, int);
36 static int txt_emark(SCR *, TEXT *, size_t);
38 static int txt_fc(SCR *, TEXT *, int *);
40 static int txt_hex(SCR *, TEXT *);
41 static int txt_insch(SCR *, TEXT *, CHAR_T *, u_int);
42 static int txt_isrch(SCR *, VICMD *, TEXT *, u_int8_t *);
45 static int txt_margin(SCR *, TEXT *, TEXT *, int *, u_int32_t);
47 static void txt_Rresolve(SCR *, TEXTH *, TEXT *, const size_t);
49 static int txt_showmatch(SCR *, TEXT *);
50 static void txt_unmap(SCR *, TEXT *, u_int32_t *);
255 TEXT *ntp, *tp; /* Input text structures. */
256 TEXT ait; /* Autoindent text structure. */
257 TEXT wmt = {{ 0 }}; /* Wrapmargin text structure. */
263 size_t owrite, insert; /* Temporary copies of TEXT fields. */
290 * Get one TEXT structure with some initial buffer space, reusing
291 * the last one if it's big enough. (All TEXT bookkeeping fields
293 * copy it into the TEXT buffer.
744 * overwrite and insert characters into the next TEXT structure.
767 * Create a new line and insert the new TEXT into the queue.
832 /* Swap old and new TEXT's, and update the new line. */
1473 txt_abbrev(SCR *sp, TEXT *tp, CHAR_T *pushcp, int isinfoline, int *didsubp, int *turnoffp)
1639 txt_unmap(SCR *sp, TEXT *tp, u_int32_t *ec_flagsp)
1679 txt_ai_resolve(SCR *sp, TEXT *tp, int *changedp)
1763 * PUBLIC: int v_txt_auto(SCR *, recno_t, TEXT *, size_t, TEXT *);
1766 v_txt_auto(SCR *sp, recno_t lno, TEXT *aitp, size_t len, TEXT *tp)
1815 static TEXT *
1816 txt_backup(SCR *sp, TEXTH *tiqh, TEXT *tp, u_int32_t *flagsp)
1819 TEXT *ntp;
1821 /* Get a handle on the previous TEXT structure. */
1842 /* Release the current TEXT. */
1850 /* Return the new/current TEXT. */
1891 txt_dent(SCR *sp, TEXT *tp, int isindent)
1992 txt_fc(SCR *sp, TEXT *tp, int *redrawp)
2267 txt_emark(SCR *sp, TEXT *tp, size_t cno)
2353 txt_hex(SCR *sp, TEXT *tp)
2433 txt_insch(SCR *sp, TEXT *tp, CHAR_T *chp, u_int flags)
2548 txt_isrch(SCR *sp, VICMD *vp, TEXT *tp, u_int8_t *is_flagsp)
2671 TEXT *tp;
2722 txt_showmatch(SCR *sp, TEXT *tp)
2789 txt_margin(SCR *sp, TEXT *tp, TEXT *wmtp, int *didbreak, u_int32_t flags)
2819 * wrapmargin TEXT structure.
2865 txt_Rresolve(SCR *sp, TEXTH *tiqh, TEXT *tp, const size_t orig_len)
2867 TEXT *ttp;