comparison src/structs.h @ 5995:ef83b423ebf7 v7.4.338

updated for version 7.4.338 Problem: Cannot wrap lines taking indent into account. Solution: Add the 'breakindent' option. (many authors, final improvements by Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Wed, 25 Jun 2014 14:39:50 +0200
parents f9fa2e506b9f
children 18ac55444b37
comparison
equal deleted inserted replaced
5994:ca18c797aafe 5995:ef83b423ebf7
131 typedef struct 131 typedef struct
132 { 132 {
133 #ifdef FEAT_ARABIC 133 #ifdef FEAT_ARABIC
134 int wo_arab; 134 int wo_arab;
135 # define w_p_arab w_onebuf_opt.wo_arab /* 'arabic' */ 135 # define w_p_arab w_onebuf_opt.wo_arab /* 'arabic' */
136 #endif
137 #ifdef FEAT_LINEBREAK
138 int wo_bri;
139 # define w_p_bri w_onebuf_opt.wo_bri /* 'breakindent' */
140 char_u *wo_briopt;
141 # define w_p_briopt w_onebuf_opt.wo_briopt /* 'breakindentopt' */
136 #endif 142 #endif
137 #ifdef FEAT_DIFF 143 #ifdef FEAT_DIFF
138 int wo_diff; 144 int wo_diff;
139 # define w_p_diff w_onebuf_opt.wo_diff /* 'diff' */ 145 # define w_p_diff w_onebuf_opt.wo_diff /* 'diff' */
140 #endif 146 #endif
2187 long_u w_p_fdt_flags; /* flags for 'foldtext' */ 2193 long_u w_p_fdt_flags; /* flags for 'foldtext' */
2188 #endif 2194 #endif
2189 #ifdef FEAT_SYN_HL 2195 #ifdef FEAT_SYN_HL
2190 int *w_p_cc_cols; /* array of columns to highlight or NULL */ 2196 int *w_p_cc_cols; /* array of columns to highlight or NULL */
2191 #endif 2197 #endif
2198 #ifdef FEAT_LINEBREAK
2199 int w_p_brimin; /* minimum width for breakindent */
2200 int w_p_brishift; /* additional shift for breakindent */
2201 int w_p_brisbr; /* sbr in 'briopt' */
2202 #endif
2192 2203
2193 /* transform a pointer to a "onebuf" option into a "allbuf" option */ 2204 /* transform a pointer to a "onebuf" option into a "allbuf" option */
2194 #define GLOBAL_WO(p) ((char *)p + sizeof(winopt_T)) 2205 #define GLOBAL_WO(p) ((char *)p + sizeof(winopt_T))
2195 2206
2196 #ifdef FEAT_SCROLLBIND 2207 #ifdef FEAT_SCROLLBIND