mirror of
https://github.com/vim/vim.git
synced 2025-09-01 21:03:39 -04:00
patch 8.0.1809: various typos
Problem: Various typos. Solution: Correct the mistakes, change "cursur" to "cursor". (closes #2887)
This commit is contained in:
parent
9289df5ca9
commit
b946482190
@ -431,7 +431,7 @@ edit(
|
|||||||
#ifdef FEAT_CONCEAL
|
#ifdef FEAT_CONCEAL
|
||||||
/* Check if the cursor line needs redrawing before changing State. If
|
/* Check if the cursor line needs redrawing before changing State. If
|
||||||
* 'concealcursor' is "n" it needs to be redrawn without concealing. */
|
* 'concealcursor' is "n" it needs to be redrawn without concealing. */
|
||||||
conceal_check_cursur_line();
|
conceal_check_cursor_line();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef FEAT_MOUSE
|
#ifdef FEAT_MOUSE
|
||||||
|
@ -7797,7 +7797,7 @@ n_start_visual_mode(int c)
|
|||||||
{
|
{
|
||||||
#ifdef FEAT_CONCEAL
|
#ifdef FEAT_CONCEAL
|
||||||
/* Check for redraw before changing the state. */
|
/* Check for redraw before changing the state. */
|
||||||
conceal_check_cursur_line();
|
conceal_check_cursor_line();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
VIsual_mode = c;
|
VIsual_mode = c;
|
||||||
@ -7824,7 +7824,7 @@ n_start_visual_mode(int c)
|
|||||||
#endif
|
#endif
|
||||||
#ifdef FEAT_CONCEAL
|
#ifdef FEAT_CONCEAL
|
||||||
/* Check for redraw after changing the state. */
|
/* Check for redraw after changing the state. */
|
||||||
conceal_check_cursur_line();
|
conceal_check_cursor_line();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (p_smd && msg_silent == 0)
|
if (p_smd && msg_silent == 0)
|
||||||
|
@ -12,7 +12,7 @@ void redrawWinline(linenr_T lnum, int invalid);
|
|||||||
void update_curbuf(int type);
|
void update_curbuf(int type);
|
||||||
int update_screen(int type_arg);
|
int update_screen(int type_arg);
|
||||||
int conceal_cursor_line(win_T *wp);
|
int conceal_cursor_line(win_T *wp);
|
||||||
void conceal_check_cursur_line(void);
|
void conceal_check_cursor_line(void);
|
||||||
void update_single_line(win_T *wp, linenr_T lnum);
|
void update_single_line(win_T *wp, linenr_T lnum);
|
||||||
void update_debug_sign(buf_T *buf, linenr_T lnum);
|
void update_debug_sign(buf_T *buf, linenr_T lnum);
|
||||||
void updateWindow(win_T *wp);
|
void updateWindow(win_T *wp);
|
||||||
|
@ -906,7 +906,7 @@ conceal_cursor_line(win_T *wp)
|
|||||||
* Check if the cursor line needs to be redrawn because of 'concealcursor'.
|
* Check if the cursor line needs to be redrawn because of 'concealcursor'.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
conceal_check_cursur_line(void)
|
conceal_check_cursor_line(void)
|
||||||
{
|
{
|
||||||
if (curwin->w_p_cole > 0 && conceal_cursor_line(curwin))
|
if (curwin->w_p_cole > 0 && conceal_cursor_line(curwin))
|
||||||
{
|
{
|
||||||
|
2
src/ui.c
2
src/ui.c
@ -1971,7 +1971,7 @@ ui_cursor_shape_forced(int forced)
|
|||||||
# endif
|
# endif
|
||||||
|
|
||||||
# ifdef FEAT_CONCEAL
|
# ifdef FEAT_CONCEAL
|
||||||
conceal_check_cursur_line();
|
conceal_check_cursor_line();
|
||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -761,6 +761,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 */
|
||||||
|
/**/
|
||||||
|
1809,
|
||||||
/**/
|
/**/
|
||||||
1808,
|
1808,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user