Mercurial > vim
comparison src/vim.h @ 5464:9c777e2c7024 v7.4.082
updated for version 7.4.082
Problem: Using "gf" in a changed buffer suggests adding "!", which is not
possible. (Tim Chase)
Solution: Pass a flag to check_changed() wether adding ! make sense.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 09 Nov 2013 03:31:51 +0100 |
parents | 6ae816249627 |
children | 2ace11abcfb5 |
comparison
equal
deleted
inserted
replaced
5463:3d194611edad | 5464:9c777e2c7024 |
---|---|
1172 * arguments for gui_set_shellsize() | 1172 * arguments for gui_set_shellsize() |
1173 */ | 1173 */ |
1174 #define RESIZE_VERT 1 /* resize vertically */ | 1174 #define RESIZE_VERT 1 /* resize vertically */ |
1175 #define RESIZE_HOR 2 /* resize horizontally */ | 1175 #define RESIZE_HOR 2 /* resize horizontally */ |
1176 #define RESIZE_BOTH 15 /* resize in both directions */ | 1176 #define RESIZE_BOTH 15 /* resize in both directions */ |
1177 | |
1178 /* | |
1179 * flags for check_changed() | |
1180 */ | |
1181 #define CCGD_AW 1 /* do autowrite if buffer was changed */ | |
1182 #define CCGD_MULTWIN 2 /* check also when several wins for the buf */ | |
1183 #define CCGD_FORCEIT 4 /* ! used */ | |
1184 #define CCGD_ALLBUF 8 /* may write all buffers */ | |
1185 #define CCGD_EXCMD 16 /* may suggest using ! */ | |
1177 | 1186 |
1178 /* | 1187 /* |
1179 * "flags" values for option-setting functions. | 1188 * "flags" values for option-setting functions. |
1180 * When OPT_GLOBAL and OPT_LOCAL are both missing, set both local and global | 1189 * When OPT_GLOBAL and OPT_LOCAL are both missing, set both local and global |
1181 * values, get local value. | 1190 * values, get local value. |