Mercurial > vim
comparison src/structs.h @ 4444:ccecb03e5e8b v7.3.970
updated for version 7.3.970
Problem: Syntax highlighting can be slow.
Solution: Include the NFA regexp engine. Add the 'regexpengine' option to
select which one is used. (various authors, including Ken Takata,
Andrei Aiordachioaie, Russ Cox, Xiaozhou Liua, Ian Young)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 19 May 2013 19:40:29 +0200 |
parents | cfd76908da25 |
children | f824cb97eb92 |
comparison
equal
deleted
inserted
replaced
4443:34f806b8147f | 4444:ccecb03e5e8b |
---|---|
61 void *ga_data; /* pointer to the first item */ | 61 void *ga_data; /* pointer to the first item */ |
62 } garray_T; | 62 } garray_T; |
63 | 63 |
64 #define GA_EMPTY {0, 0, 0, 0, NULL} | 64 #define GA_EMPTY {0, 0, 0, 0, NULL} |
65 | 65 |
66 /* | |
67 * This is here because regexp.h needs pos_T and below regprog_T is used. | |
68 */ | |
69 #include "regexp.h" | |
70 | |
71 typedef struct window_S win_T; | 66 typedef struct window_S win_T; |
72 typedef struct wininfo_S wininfo_T; | 67 typedef struct wininfo_S wininfo_T; |
73 typedef struct frame_S frame_T; | 68 typedef struct frame_S frame_T; |
74 typedef int scid_T; /* script ID */ | 69 typedef int scid_T; /* script ID */ |
70 typedef struct file_buffer buf_T; /* forward declaration */ | |
71 | |
72 /* | |
73 * This is here because regexp.h needs pos_T and below regprog_T is used. | |
74 */ | |
75 #include "regexp.h" | |
75 | 76 |
76 /* | 77 /* |
77 * This is here because gui.h needs the pos_T and win_T, and win_T needs gui.h | 78 * This is here because gui.h needs the pos_T and win_T, and win_T needs gui.h |
78 * for scrollbar_T. | 79 * for scrollbar_T. |
79 */ | 80 */ |
523 int lockmarks; /* TRUE when ":lockmarks" was used */ | 524 int lockmarks; /* TRUE when ":lockmarks" was used */ |
524 # ifdef FEAT_AUTOCMD | 525 # ifdef FEAT_AUTOCMD |
525 char_u *save_ei; /* saved value of 'eventignore' */ | 526 char_u *save_ei; /* saved value of 'eventignore' */ |
526 # endif | 527 # endif |
527 } cmdmod_T; | 528 } cmdmod_T; |
528 | |
529 typedef struct file_buffer buf_T; /* forward declaration */ | |
530 | 529 |
531 #define MF_SEED_LEN 8 | 530 #define MF_SEED_LEN 8 |
532 | 531 |
533 struct memfile | 532 struct memfile |
534 { | 533 { |