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
c32840f2
Commit
c32840f2
authored
19 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.0181
parent
04dbce06
Loading
Loading
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
runtime/doc/todo.txt
+4
-2
4 additions, 2 deletions
runtime/doc/todo.txt
runtime/doc/version7.txt
+9
-1
9 additions, 1 deletion
runtime/doc/version7.txt
src/eval.c
+11
-0
11 additions, 0 deletions
src/eval.c
src/memfile.c
+17
-0
17 additions, 0 deletions
src/memfile.c
src/memline.c
+6
-0
6 additions, 0 deletions
src/memline.c
with
47 additions
and
3 deletions
runtime/doc/todo.txt
+
4
−
2
View file @
c32840f2
*todo.txt* For Vim version 7.0aa. Last change: 2006 Jan 1
3
*todo.txt* For Vim version 7.0aa. Last change: 2006 Jan 1
4
VIM REFERENCE MANUAL by Bram Moolenaar
...
...
@@ -30,6 +30,9 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs*
-------------------- Known bugs and current work -----------------------
When the file "" exists, then ":!ls aap<Tab>" should put backslashes before
'&', ';', '<' and '>'.
Evaluating CTRL-R = in the sandbox causes trouble (G. Sumner Hayes). Can the
rules for the commandline window be used?
...
...
@@ -67,7 +70,6 @@ ccomplete:
Can't reproduce it right now...
spelling:
- NL woordenlijst naar Adri sturen.
- Include script to cleanup a .add file. (Antonio Colombo, Jan 9)
- suggestions for "macARONI" doesn't include "macaroni", they are all allcap.
suggestion for "KG" to "kg" when it's keepcase.
...
...
This diff is collapsed.
Click to expand it.
runtime/doc/version7.txt
+
9
−
1
View file @
c32840f2
*version7.txt* For Vim version 7.0aa. Last change: 2006 Jan 1
3
*version7.txt* For Vim version 7.0aa. Last change: 2006 Jan 1
4
VIM REFERENCE MANUAL by Bram Moolenaar
...
...
@@ -1558,4 +1558,12 @@ happens to be after the end of the line then it continued in the next line and
stopped at the region end match, making the region continue after that.
Now check for the column being past the end of the line in syn_add_end_off().
When changing a file, setting 'swapfile' off and then on again, making another
change and killing Vim, then some blocks may be missing from the swapfile.
When 'swapfile' is switched back on mark all blocks in the swapfile as dirty.
Added mf_set_dirty().
Expanding wildcards in a command like ":e aap;<>!" didn't work. Put
backslashes before characters that are special to the shell. (Adri Verhoef)
vim:tw=78:ts=8:ft=help:norl:
This diff is collapsed.
Click to expand it.
src/eval.c
+
11
−
0
View file @
c32840f2
...
...
@@ -17667,7 +17667,18 @@ trans_function_name(pp, skip, flags, fdp)
}
if (lv.ll_exp_name != NULL)
{
len = STRLEN(lv.ll_exp_name);
if (lead <= 2 && lv.ll_name == lv.ll_exp_name
&& STRNCMP(lv.ll_name, "s:", 2) == 0)
{
/* When there was "s:" already or the name expanded to get a
* leading "s:" then remove it. */
lv.ll_name += 2;
len -= 2;
lead = 2;
}
}
else
{
if (lead == 2) /* skip over "s:" */
...
...
This diff is collapsed.
Click to expand it.
src/memfile.c
+
17
−
0
View file @
c32840f2
...
...
@@ -700,6 +700,23 @@ mf_sync(mfp, flags)
return
status
;
}
/*
* For all blocks in memory file *mfp that have a positive block number set
* the dirty flag. These are blocks that need to be written to a newly
* created swapfile.
*/
void
mf_set_dirty
(
mfp
)
memfile_T
*
mfp
;
{
bhdr_T
*
hp
;
for
(
hp
=
mfp
->
mf_used_last
;
hp
!=
NULL
;
hp
=
hp
->
bh_prev
)
if
(
hp
->
bh_bnum
>
0
)
hp
->
bh_flags
|=
BH_DIRTY
;
mfp
->
mf_dirty
=
TRUE
;
}
/*
* insert block *hp in front of hashlist of memfile *mfp
*/
...
...
This diff is collapsed.
Click to expand it.
src/memline.c
+
6
−
0
View file @
c32840f2
...
...
@@ -563,7 +563,13 @@ ml_open_file(buf)
/* Flush block zero, so others can read it */
if
(
mf_sync
(
mfp
,
MFS_ZERO
)
==
OK
)
{
/* Mark all blocks that should be in the swapfile as dirty.
* Needed for when the 'swapfile' option was reset, so that
* the swap file was deleted, and then on again. */
mf_set_dirty
(
mfp
);
break
;
}
/* Writing block 0 failed: close the file and try another dir */
mf_close_file
(
buf
,
FALSE
);
}
...
...
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