Lines Matching defs:file_buffer

2665 struct file_buffer  struct
2667 memline_T b_ml; // associated memline (also contains line
2670 buf_T *b_next; // links in list of buffers
2671 buf_T *b_prev;
2673 int b_nwindows; // nr of windows open on this buffer
2675 int b_flags; // various BF_ flags
2676 int b_locked; // Buffer is being closed or referenced, don't
2678 int b_locked_split; // Buffer is being closed, don't allow opening
2687 char_u *b_ffname; // full path file name, allocated
2688 char_u *b_sfname; // short file name, allocated, may be equal to
2690 char_u *b_fname; // current file name, points to b_ffname or
2694 int b_dev_valid; // TRUE when b_dev has a valid number
2695 dev_t b_dev; // device number
2696 ino_t b_ino; // inode number
2699 char b_fab_rfm; // Record format
2700 char b_fab_rat; // Record attribute
2701 unsigned int b_fab_mrs; // Max record size
2703 int b_fnum; // buffer number for this file.
2704 char_u b_key[VIM_SIZEOF_INT * 2 + 1];
2708 int b_changed; // 'modified': Set to TRUE if something in the
2710 dictitem16_T b_ct_di; // holds the b:changedtick value in
2715 varnumber_T b_last_changedtick; // b:changedtick when TextChanged was
2717 varnumber_T b_last_changedtick_pum; // b:changedtick for TextChangedP
2718 varnumber_T b_last_changedtick_i; // b:changedtick for TextChangedI
2720 int b_saving; // Set to TRUE if we are in the middle of
2727 int b_mod_set; // TRUE when there are changes since the last
2729 linenr_T b_mod_top; // topmost lnum that was changed
2730 linenr_T b_mod_bot; // lnum below last changed line, AFTER the
2732 long b_mod_xlines; // number of extra buffer lines inserted;
2735 wininfo_T *b_wininfo; // list of last used info for each window
2737 long b_mtime; // last change time of original file
2738 long b_mtime_ns; // nanoseconds of last change time
2739 long b_mtime_read; // last change time when reading
2740 long b_mtime_read_ns; // nanoseconds of last read time
2741 off_T b_orig_size; // size of original file in bytes
2742 int b_orig_mode; // mode of original file
2744 time_T b_last_used; // time when the buffer was last used; used
2748 pos_T b_namedm[NMARKS]; // current named marks (mark.c)
2751 visualinfo_T b_visual;
2753 int b_visual_mode_eval; // b_visual.vi_mode for visualmode()
2756 pos_T b_last_cursor; // cursor position when last unloading this
2758 pos_T b_last_insert; // where Insert mode was left
2759 pos_T b_last_change; // position of last change: '. mark
2765 pos_T b_changelist[JUMPLISTSIZE];
2766 int b_changelistlen; // number of active entries
2767 int b_new_change; // set by u_savecommon()
2774 char_u b_chartab[32];
2777 mapblock_T *(b_maphash[256]);
2780 mapblock_T *b_first_abbr;
2783 garray_T b_ucmds;
2785 pos_T b_op_start;
2786 pos_T b_op_start_orig; // used for Insstart_orig
2787 pos_T b_op_end;
2790 int b_marks_read; // Have we read viminfo marks yet?
2796 u_header_T *b_u_oldhead; // pointer to oldest header
2797 u_header_T *b_u_newhead; // pointer to newest header; may not be valid
2799 u_header_T *b_u_curhead; // pointer to current header
2800 int b_u_numhead; // current number of headers
2801 int b_u_synced; // entry lists are synced
2802 long b_u_seq_last; // last used undo sequence number
2803 long b_u_save_nr_last; // counter for last file write
2804 long b_u_seq_cur; // hu_seq of header below which we are now
2805 time_T b_u_time_cur; // uh_time of header below which we are now
2806 long b_u_save_nr_cur; // file write nr after which we are now
2811 undoline_T b_u_line_ptr; // saved line for "U" command
2812 linenr_T b_u_line_lnum; // line number of line in u_line
2813 colnr_T b_u_line_colnr; // optional column number
2815 int b_scanned; // ^N/^P have scanned this buffer
2818 long b_p_iminsert; // input mode for insert
2819 long b_p_imsearch; // input mode for search
2827 short b_kmap_state; // using "lmap" mappings
2830 garray_T b_kmap_ga; // the keymap table
2838 int b_p_initialized; // set when options initialized
2841 sctx_T b_p_script_ctx[BV_COUNT]; // SCTXs for buffer-local options
2844 int b_p_ai; // 'autoindent'
2845 int b_p_ai_nopaste; // b_p_ai saved for paste mode
2846 char_u *b_p_bkc; // 'backupcopy'
2847 unsigned b_bkc_flags; // flags for 'backupcopy'
2848 int b_p_ci; // 'copyindent'
2849 int b_p_bin; // 'binary'
2850 int b_p_bomb; // 'bomb'
2851 char_u *b_p_bh; // 'bufhidden'
2852 char_u *b_p_bt; // 'buftype'
2856 int b_has_qf_entry;
2858 int b_p_bl; // 'buflisted'
2860 int b_p_cin; // 'cindent'
2861 char_u *b_p_cino; // 'cinoptions'
2862 char_u *b_p_cink; // 'cinkeys'
2865 char_u *b_p_cinw; // 'cinwords'
2867 char_u *b_p_com; // 'comments'
2869 char_u *b_p_cms; // 'commentstring'
2871 char_u *b_p_cpt; // 'complete'
2873 char_u *b_p_csl; // 'completeslash'
2876 char_u *b_p_cfu; // 'completefunc'
2877 char_u *b_p_ofu; // 'omnifunc'
2880 char_u *b_p_tfu; // 'tagfunc'
2882 int b_p_eol; // 'endofline'
2883 int b_p_fixeol; // 'fixendofline'
2884 int b_p_et; // 'expandtab'
2885 int b_p_et_nobin; // b_p_et saved for binary mode
2886 int b_p_et_nopaste; // b_p_et saved for paste mode
2887 char_u *b_p_fenc; // 'fileencoding'
2888 char_u *b_p_ff; // 'fileformat'
2889 char_u *b_p_ft; // 'filetype'
2890 char_u *b_p_fo; // 'formatoptions'
2891 char_u *b_p_flp; // 'formatlistpat'
2892 int b_p_inf; // 'infercase'
2893 char_u *b_p_isk; // 'iskeyword'
2895 char_u *b_p_def; // 'define' local value
2896 char_u *b_p_inc; // 'include'
2898 char_u *b_p_inex; // 'includeexpr'
2899 long_u b_p_inex_flags; // flags for 'includeexpr'
2903 char_u *b_p_inde; // 'indentexpr'
2904 long_u b_p_inde_flags; // flags for 'indentexpr'
2905 char_u *b_p_indk; // 'indentkeys'
2907 char_u *b_p_fp; // 'formatprg'
2909 char_u *b_p_fex; // 'formatexpr'
2910 long_u b_p_fex_flags; // flags for 'formatexpr'
2913 char_u *b_p_key; // 'key'
2915 char_u *b_p_kp; // 'keywordprg'
2917 int b_p_lisp; // 'lisp'
2919 char_u *b_p_menc; // 'makeencoding'
2920 char_u *b_p_mps; // 'matchpairs'
2921 int b_p_ml; // 'modeline'
2922 int b_p_ml_nobin; // b_p_ml saved for binary mode
2923 int b_p_ma; // 'modifiable'
2924 char_u *b_p_nf; // 'nrformats'
2925 int b_p_pi; // 'preserveindent'
2927 char_u *b_p_qe; // 'quoteescape'
2929 int b_p_ro; // 'readonly'
2930 long b_p_sw; // 'shiftwidth'
2931 int b_p_sn; // 'shortname'
2933 int b_p_si; // 'smartindent'
2935 long b_p_sts; // 'softtabstop'
2936 long b_p_sts_nopaste; // b_p_sts saved for paste mode
2938 char_u *b_p_sua; // 'suffixesadd'
2940 int b_p_swf; // 'swapfile'
2942 long b_p_smc; // 'synmaxcol'
2943 char_u *b_p_syn; // 'syntax'
2945 long b_p_ts; // 'tabstop'
2946 int b_p_tx; // 'textmode'
2947 long b_p_tw; // 'textwidth'
2948 long b_p_tw_nobin; // b_p_tw saved for binary mode
2949 long b_p_tw_nopaste; // b_p_tw saved for paste mode
2950 long b_p_wm; // 'wrapmargin'
2951 long b_p_wm_nobin; // b_p_wm saved for binary mode
2952 long b_p_wm_nopaste; // b_p_wm saved for paste mode
2954 char_u *b_p_vsts; // 'varsofttabstop'
2955 int *b_p_vsts_array; // 'varsofttabstop' in internal format
2956 char_u *b_p_vsts_nopaste; // b_p_vsts saved for paste mode
2957 char_u *b_p_vts; // 'vartabstop'
2958 int *b_p_vts_array; // 'vartabstop' in internal format
2961 char_u *b_p_keymap; // 'keymap'
2968 char_u *b_p_gp; // 'grepprg' local value
2969 char_u *b_p_mp; // 'makeprg' local value
2970 char_u *b_p_efm; // 'errorformat' local value
2972 char_u *b_p_ep; // 'equalprg' local value
2973 char_u *b_p_path; // 'path' local value
2974 int b_p_ar; // 'autoread' local value
2975 char_u *b_p_tags; // 'tags' local value
2976 char_u *b_p_tc; // 'tagcase' local value
2977 unsigned b_tc_flags; // flags for 'tagcase'
2978 char_u *b_p_dict; // 'dictionary' local value
2979 char_u *b_p_tsr; // 'thesaurus' local value
2981 char_u *b_p_tsrfu; // 'thesaurusfunc' local value
2983 long b_p_ul; // 'undolevels' local value
2985 int b_p_udf; // 'undofile'
2988 char_u *b_p_lw; // 'lispwords' local value
2991 long b_p_twsl; // 'termwinscroll'
3000 int b_ind_level;
3001 int b_ind_open_imag;
3002 int b_ind_no_brace;
3003 int b_ind_first_open;
3004 int b_ind_open_extra;
3005 int b_ind_close_extra;
3006 int b_ind_open_left_imag;
3007 int b_ind_jump_label;
3008 int b_ind_case;
3009 int b_ind_case_code;
3010 int b_ind_case_break;
3011 int b_ind_param;
3012 int b_ind_func_type;
3013 int b_ind_comment;
3014 int b_ind_in_comment;
3015 int b_ind_in_comment2;
3016 int b_ind_cpp_baseclass;
3017 int b_ind_continuation;
3018 int b_ind_unclosed;
3019 int b_ind_unclosed2;
3020 int b_ind_unclosed_noignore;
3021 int b_ind_unclosed_wrapped;
3022 int b_ind_unclosed_whiteok;
3023 int b_ind_matching_paren;
3024 int b_ind_paren_prev;
3025 int b_ind_maxparen;
3026 int b_ind_maxcomment;
3027 int b_ind_scopedecl;
3028 int b_ind_scopedecl_code;
3029 int b_ind_java;
3030 int b_ind_js;
3031 int b_ind_keep_case_label;
3032 int b_ind_hash_comment;
3033 int b_ind_cpp_namespace;
3034 int b_ind_if_for_while;
3035 int b_ind_cpp_extern_c;
3036 int b_ind_pragma;
3039 linenr_T b_no_eol_lnum; // non-zero lnum when last line of next binary
3042 int b_start_eol; // last line had eol when it was read
3043 int b_start_ffc; // first char of 'ff' when edit started
3044 char_u *b_start_fenc; // 'fileencoding' when edit started or NULL
3045 int b_bad_char; // "++bad=" argument when edit started or 0
3046 int b_start_bomb; // 'bomb' when it was read
3049 dictitem_T b_bufvar; // variable for "b:" Dictionary
3050 dict_T *b_vars; // internal variables, local to buffer
3052 listener_T *b_listener;
3053 list_T *b_recorded_changes;
3056 int b_has_textprop; // TRUE when text props were added
3057 hashtab_T *b_proptypes; // text property types local to buffer
3061 char_u *b_p_bexpr; // 'balloonexpr' local value
3062 long_u b_p_bexpr_flags;// flags for 'balloonexpr'
3065 char_u *b_p_cm; // 'cryptmethod'
3071 int b_may_swap;
3072 int b_did_warn; // Set to 1 if user has been warned on first
3079 int b_help; // TRUE for help file buffer (when set b_p_bt
3082 int b_spell; // TRUE for a spell file buffer, most fields
3087 int b_shortname; // this file has an 8.3 file name
3090 char_u *b_prompt_text; // set by prompt_setprompt()
3091 callback_T b_prompt_callback; // set by prompt_setcallback()
3092 callback_T b_prompt_interrupt; // set by prompt_setinterrupt()
3093 int b_prompt_insert; // value for restart_edit when entering
3097 void *b_mzscheme_ref; // The MzScheme reference to this buffer
3101 void *b_perl_private;
3105 void *b_python_ref; // The Python reference to this buffer
3109 void *b_python3_ref; // The Python3 reference to this buffer
3113 void *b_tcl_ref;
3117 void *b_ruby_ref;
3121 synblock_T b_s; // Info related to syntax highlighting. w_s
3127 sign_entry_T *b_signlist; // list of placed signs
3129 int b_has_sign_column; // Flag that is set when a first sign is
3157 }; // file_buffer argument