Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Someone-Else
Vim
Commits
87c19964
Commit
87c19964
authored
17 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.0-225
parent
63b9254b
No related branches found
Branches containing commit
Tags
v7.0.225
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/eval.c
+2
-1
2 additions, 1 deletion
src/eval.c
src/misc2.c
+7
-0
7 additions, 0 deletions
src/misc2.c
src/version.c
+2
-0
2 additions, 0 deletions
src/version.c
with
11 additions
and
1 deletion
src/eval.c
+
2
−
1
View file @
87c19964
...
...
@@ -14397,7 +14397,8 @@ f_setline(argvars, rettv)
if (u_savesub(lnum) == OK && ml_replace(lnum, line, TRUE) == OK)
{
changed_bytes(lnum, 0);
check_cursor_col();
if (lnum == curwin->w_cursor.lnum)
check_cursor_col();
rettv->vval.v_number = 0; /* OK */
}
}
...
...
This diff is collapsed.
Click to expand it.
src/misc2.c
+
7
−
0
View file @
87c19964
...
...
@@ -516,7 +516,14 @@ check_cursor_col()
||
virtual_active
())
curwin
->
w_cursor
.
col
=
len
;
else
{
curwin
->
w_cursor
.
col
=
len
-
1
;
#ifdef FEAT_MBYTE
/* prevent cursor from moving on the trail byte */
if
(
has_mbyte
)
mb_adjust_cursor
();
#endif
}
}
#ifdef FEAT_VIRTUALEDIT
...
...
This diff is collapsed.
Click to expand it.
src/version.c
+
2
−
0
View file @
87c19964
...
...
@@ -666,6 +666,8 @@ static char *(features[]) =
static
int
included_patches
[]
=
{
/* Add new patch number below this line */
/**/
225
,
/**/
224
,
/**/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment