Mercurial > vim
comparison src/fileio.c @ 18763:49b78d6465e5 v8.1.2371
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Commit: https://github.com/vim/vim/commit/05ad5ff0ab34ed9a5296dedd420ca81698b8ce22
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 30 22:48:27 2019 +0100
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes https://github.com/vim/vim/issues/5291)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Nov 2019 23:00:05 +0100 |
parents | bbea1f108187 |
children | 068337e86133 |
comparison
equal
deleted
inserted
replaced
18762:19582783e5ad | 18763:49b78d6465e5 |
---|---|
1076 { | 1076 { |
1077 /* | 1077 /* |
1078 * We allocate as much space for the file as we can get, plus | 1078 * We allocate as much space for the file as we can get, plus |
1079 * space for the old line plus room for one terminating NUL. | 1079 * space for the old line plus room for one terminating NUL. |
1080 * The amount is limited by the fact that read() only can read | 1080 * The amount is limited by the fact that read() only can read |
1081 * upto max_unsigned characters (and other things). | 1081 * up to max_unsigned characters (and other things). |
1082 */ | 1082 */ |
1083 if (!skip_read) | 1083 if (!skip_read) |
1084 { | 1084 { |
1085 #if defined(SSIZE_MAX) && (SSIZE_MAX < 0x10000L) | 1085 #if defined(SSIZE_MAX) && (SSIZE_MAX < 0x10000L) |
1086 size = SSIZE_MAX; /* use max I/O size, 52K */ | 1086 size = SSIZE_MAX; /* use max I/O size, 52K */ |
3364 * also have a swap file. */ | 3364 * also have a swap file. */ |
3365 mf_fullname(buf->b_ml.ml_mfp); | 3365 mf_fullname(buf->b_ml.ml_mfp); |
3366 } | 3366 } |
3367 status_redraw_all(); | 3367 status_redraw_all(); |
3368 redraw_tabline = TRUE; | 3368 redraw_tabline = TRUE; |
3369 #ifdef FEAT_TEXT_PROP | 3369 #ifdef FEAT_PROP_POPUP |
3370 popup_update_preview_title(); | 3370 popup_update_preview_title(); |
3371 #endif | 3371 #endif |
3372 } | 3372 } |
3373 | 3373 |
3374 #if (defined(FEAT_DND) && defined(FEAT_GUI_GTK)) \ | 3374 #if (defined(FEAT_DND) && defined(FEAT_GUI_GTK)) \ |