0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 7.4.1502

Problem:    Writing last-but-one line of buffer to a channel isn't implemented
            yet.
Solution:   Implement it.  Fix leaving a swap file behind.
This commit is contained in:
Bram Moolenaar
2016-03-06 20:22:25 +01:00
parent 38fd4bb284
commit 99ef06296f
5 changed files with 168 additions and 59 deletions

View File

@@ -2051,6 +2051,10 @@ struct file_buffer
int b_netbeans_file; /* TRUE when buffer is owned by NetBeans */
int b_was_netbeans_file;/* TRUE if b_netbeans_file was once set */
#endif
#ifdef FEAT_CHANNEL
int b_write_to_channel; /* TRUE when appended lines are written to
* a channel. */
#endif
#ifdef FEAT_CRYPT
cryptstate_T *b_cryptstate; /* Encryption state while reading or writing