Projects
openEuler:Mainline
vim
_service:tar_scm:backport-9.0.0581-adding-a-cha...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-9.0.0581-adding-a-character-for-incsearch-fails-at-end-of-line.patch of Package vim
From d4566c14e71c55dcef05fb34ea94eba835831527 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar <Bram@vim.org> Date: Sat, 24 Sep 2022 21:06:39 +0100 Subject: [PATCH] patch 9.0.0581: adding a character for incsearch fails at end of line Problem: Adding a character for incsearch fails at end of line. Solution: Only check cursor line number. --- src/move.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/move.c b/src/move.c index 6c654ac..4123ca8 100644 --- a/src/move.c +++ b/src/move.c @@ -652,7 +652,7 @@ cursor_valid(void) void validate_cursor(void) { - check_cursor(); + check_cursor_lnum(); check_cursor_moved(curwin); if ((curwin->w_valid & (VALID_WCOL|VALID_WROW)) != (VALID_WCOL|VALID_WROW)) curs_columns(TRUE); -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2