vim-patch:8.0.1809: various typos

Problem:    Various typos.
Solution:   Correct the mistakes, change "cursur" to "cursor". (closes vim/vim#2887)
b946482190
This commit is contained in:
Jan Edmund Lazo 2018-09-11 23:00:12 -04:00
parent 8a845ab3ef
commit 38c52c63ac
4 changed files with 5 additions and 5 deletions

View File

@ -298,7 +298,7 @@ static void insert_enter(InsertState *s)
// Check if the cursor line needs redrawing before changing State. If
// 'concealcursor' is "n" it needs to be redrawn without concealing.
conceal_check_cursur_line();
conceal_check_cursor_line();
// When doing a paste with the middle mouse button, Insstart is set to
// where the paste started.

View File

@ -6497,7 +6497,7 @@ void may_start_select(int c)
static void n_start_visual_mode(int c)
{
/* Check for redraw before changing the state. */
conceal_check_cursur_line();
conceal_check_cursor_line();
VIsual_mode = c;
VIsual_active = true;
@ -6515,7 +6515,7 @@ static void n_start_visual_mode(int c)
setmouse();
/* Check for redraw after changing the state. */
conceal_check_cursur_line();
conceal_check_cursor_line();
if (p_smd && msg_silent == 0)
redraw_cmdline = true; /* show visual mode later */

View File

@ -478,7 +478,7 @@ int conceal_cursor_line(win_T *wp)
/*
* Check if the cursor line needs to be redrawn because of 'concealcursor'.
*/
void conceal_check_cursur_line(void)
void conceal_check_cursor_line(void)
{
if (curwin->w_p_cole > 0 && conceal_cursor_line(curwin)) {
need_cursor_line_redraw = TRUE;

View File

@ -393,7 +393,7 @@ void ui_cursor_shape(void)
mode_idx = new_mode_idx;
pending_mode_update = true;
}
conceal_check_cursur_line();
conceal_check_cursor_line();
}
/// Returns true if `widget` is externalized.