mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.4.295
Problem: Various typos, bad white space and unclear comments. Solution: Fix typos. Improve white space. Update comments.
This commit is contained in:
@@ -2054,6 +2054,7 @@ write_session_file(char_u *filename)
|
|||||||
|
|
||||||
ssop_flags = save_ssop_flags;
|
ssop_flags = save_ssop_flags;
|
||||||
g_free(mksession_cmdline);
|
g_free(mksession_cmdline);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reopen the file and append a command to restore v:this_session,
|
* Reopen the file and append a command to restore v:this_session,
|
||||||
* as if this save never happened. This is to avoid conflicts with
|
* as if this save never happened. This is to avoid conflicts with
|
||||||
|
@@ -264,7 +264,7 @@
|
|||||||
# define mb_ptr_adv(p) p += has_mbyte ? (*mb_ptr2len)(p) : 1
|
# define mb_ptr_adv(p) p += has_mbyte ? (*mb_ptr2len)(p) : 1
|
||||||
/* Advance multi-byte pointer, do not skip over composing chars. */
|
/* Advance multi-byte pointer, do not skip over composing chars. */
|
||||||
# define mb_cptr_adv(p) p += enc_utf8 ? utf_ptr2len(p) : has_mbyte ? (*mb_ptr2len)(p) : 1
|
# define mb_cptr_adv(p) p += enc_utf8 ? utf_ptr2len(p) : has_mbyte ? (*mb_ptr2len)(p) : 1
|
||||||
/* Backup multi-byte pointer. */
|
/* Backup multi-byte pointer. Only use with "p" > "s" ! */
|
||||||
# define mb_ptr_back(s, p) p -= has_mbyte ? ((*mb_head_off)(s, p - 1) + 1) : 1
|
# define mb_ptr_back(s, p) p -= has_mbyte ? ((*mb_head_off)(s, p - 1) + 1) : 1
|
||||||
/* get length of multi-byte char, not including composing chars */
|
/* get length of multi-byte char, not including composing chars */
|
||||||
# define mb_cptr2len(p) (enc_utf8 ? utf_ptr2len(p) : (*mb_ptr2len)(p))
|
# define mb_cptr2len(p) (enc_utf8 ? utf_ptr2len(p) : (*mb_ptr2len)(p))
|
||||||
|
@@ -3783,7 +3783,7 @@ check_mouse_termcode()
|
|||||||
del_mouse_termcode(KS_URXVT_MOUSE);
|
del_mouse_termcode(KS_URXVT_MOUSE);
|
||||||
# endif
|
# endif
|
||||||
# ifdef FEAT_MOUSE_SGR
|
# ifdef FEAT_MOUSE_SGR
|
||||||
/* same as the dec mouse */
|
/* There is no conflict with xterm mouse */
|
||||||
if (use_xterm_mouse() == 4
|
if (use_xterm_mouse() == 4
|
||||||
# ifdef FEAT_GUI
|
# ifdef FEAT_GUI
|
||||||
&& !gui.in_use
|
&& !gui.in_use
|
||||||
|
@@ -2456,8 +2456,8 @@ fold_line(wp, fold_count, foldinfo, lnum, row)
|
|||||||
if (len > 0)
|
if (len > 0)
|
||||||
{
|
{
|
||||||
int w = number_width(wp);
|
int w = number_width(wp);
|
||||||
long num;
|
long num;
|
||||||
char *fmt = "%*ld ";
|
char *fmt = "%*ld ";
|
||||||
|
|
||||||
if (len > w + 1)
|
if (len > w + 1)
|
||||||
len = w + 1;
|
len = w + 1;
|
||||||
|
@@ -572,7 +572,7 @@ struct memfile
|
|||||||
unsigned mf_page_size; /* number of bytes in a page */
|
unsigned mf_page_size; /* number of bytes in a page */
|
||||||
int mf_dirty; /* TRUE if there are dirty blocks */
|
int mf_dirty; /* TRUE if there are dirty blocks */
|
||||||
#ifdef FEAT_CRYPT
|
#ifdef FEAT_CRYPT
|
||||||
buf_T *mf_buffer; /* bufer this memfile is for */
|
buf_T *mf_buffer; /* buffer this memfile is for */
|
||||||
char_u mf_seed[MF_SEED_LEN]; /* seed for encryption */
|
char_u mf_seed[MF_SEED_LEN]; /* seed for encryption */
|
||||||
|
|
||||||
/* Values for key, method and seed used for reading data blocks when
|
/* Values for key, method and seed used for reading data blocks when
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
This is a test of the script language.
|
This is a test of the script language.
|
||||||
|
|
||||||
If after adding a new test, the test output doesn't appear properly in
|
If after adding a new test, the test output doesn't appear properly in
|
||||||
test49.failed, try to add one ore more "G"s at the line ending in "test.out"
|
test49.failed, try to add one or more "G"s at the line ending in "test.out"
|
||||||
|
|
||||||
STARTTEST
|
STARTTEST
|
||||||
:so small.vim
|
:so small.vim
|
||||||
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
295,
|
||||||
/**/
|
/**/
|
||||||
294,
|
294,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user