0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

updated for version 7.1b

This commit is contained in:
Bram Moolenaar
2007-05-10 18:59:07 +00:00
parent cf0dfa2f18
commit b8017e7a03
13 changed files with 646 additions and 302 deletions

View File

@@ -419,7 +419,7 @@ get_vim_env(void)
vim = default_vim_dir;
else
/* Let NSIS know there is no default, it should use
* $PROGRAMFIlES. */
* $PROGRAMFILES. */
vim = "";
}
}

View File

@@ -518,7 +518,7 @@ my_fullpath(char *buf, char *fname, int len)
int c;
char *retval = buf;
if (strchr(fname, ':') != NULL) /* allready expanded */
if (strchr(fname, ':') != NULL) /* already expanded */
{
strncpy(buf, fname, len);
}

View File

@@ -3971,7 +3971,7 @@ ex_language(eap)
++_nl_msg_cat_cntr;
#endif
/* Reset $LC_ALL, otherwise it would overrule everyting. */
/* Reset $LC_ALL, otherwise it would overrule everything. */
vim_setenv((char_u *)"LC_ALL", (char_u *)"");
if (what != LC_TIME)

View File

@@ -375,7 +375,7 @@ beepcmd(dummy, interp, objc, objv)
/*
* "::vim::buffer list" - create a list of buffer commands.
* "::vim::bufffer {N}" - create buffer command for buffer N.
* "::vim::buffer {N}" - create buffer command for buffer N.
* "::vim::buffer new" - create a new buffer (not implemented)
*/
/* ARGSUSED */
@@ -1872,7 +1872,7 @@ tcldelthisinterp()
* callback, which deletes all refs pointing to this interpreter.
* We could garbage-collect the unused ref structs in all windows and
* buffers, but unless the user creates hundreds of sub-interpreters
* all refering to lots of windows and buffers, this is hardly worth
* all referring to lots of windows and buffers, this is hardly worth
* the effort. Unused refs are recycled by other interpreters, and
* all refs are free'd when the window/buffer gets closed by vim.
*/

View File

@@ -125,7 +125,7 @@ typedef struct SearchedFile
* pat_save == RE_SUBST: save pat in spats[RE_SUBST].pat (:substitute command)
* pat_save == RE_BOTH: save pat in both patterns (:global command)
* pat_use == RE_SEARCH: use previous search pattern if "pat" is NULL
* pat_use == RE_SUBST: use previous sustitute pattern if "pat" is NULL
* pat_use == RE_SUBST: use previous substitute pattern if "pat" is NULL
* pat_use == RE_LAST: use last used pattern if "pat" is NULL
* options & SEARCH_HIS: put search string in history
* options & SEARCH_KEEP: keep previous search pattern
@@ -947,7 +947,7 @@ first_submatch(rp)
/*
* Highest level string search function.
* Search for the 'count'th occurence of pattern 'pat' in direction 'dirc'
* Search for the 'count'th occurrence of pattern 'pat' in direction 'dirc'
* If 'dirc' is 0: use previous dir.
* If 'pat' is NULL or empty : use previous string.
* If 'options & SEARCH_REV' : go in reverse of previous dir.

View File

@@ -307,7 +307,7 @@ typedef struct state_item
*/
typedef struct
{
int flags; /* flags for contained and transpartent */
int flags; /* flags for contained and transparent */
int keyword; /* TRUE for ":syn keyword" */
int *sync_idx; /* syntax item for "grouphere" argument, NULL
if not allowed */
@@ -7175,7 +7175,7 @@ do_highlight(line, forceit, init)
/*
* The "start" and "stop" arguments can be a literal escape
* sequence, or a comma seperated list of terminal codes.
* sequence, or a comma separated list of terminal codes.
*/
if (STRNCMP(arg, "t_", 2) == 0)
{
@@ -7685,7 +7685,7 @@ hl_do_font(idx, arg, do_normal, do_menu, do_tooltip)
/* The Athena widget set cannot currently handle switching between
* displaying a single font and a fontset.
* If the XtNinternational resource is set to True at widget
* creation, then a fontset is always used, othwise an
* creation, then a fontset is always used, otherwise an
* XFontStruct is used.
*/
gui.tooltip_fontset = (XFontSet)HL_TABLE()[idx].sg_fontset;