mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -04:00
updated for version 7.0078
This commit is contained in:
parent
d6f676daaf
commit
6c0b44b5bf
@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 7.0aa. Last change: 2005 May 31
|
*todo.txt* For Vim version 7.0aa. Last change: 2005 Jun 01
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -30,10 +30,22 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
|||||||
*known-bugs*
|
*known-bugs*
|
||||||
-------------------- Known bugs and current work -----------------------
|
-------------------- Known bugs and current work -----------------------
|
||||||
|
|
||||||
":qtag" command: make list of matching tags and use like quickfix list.
|
Add extra list of file locations. Can be used with:
|
||||||
This changes the stack of quickfix lists. Make another list and use ":qnext",
|
:ltag list of matching tags, like :tselect
|
||||||
":qprev", etc.? Do allow other commands for quickfix list, such as quickfix
|
|
||||||
window.
|
:lnext next location
|
||||||
|
:lprevious :lNext previous location
|
||||||
|
:lnfile location in next file
|
||||||
|
:lNfile :lpfile location in previous file
|
||||||
|
:lrewind :lfirst first location
|
||||||
|
:llast last location
|
||||||
|
:lq [N] go to location N (current one if N omitted)
|
||||||
|
:lwindow open window with locations (separate from quickfix window)
|
||||||
|
:lopen open window with locations
|
||||||
|
:lclose close window with locations
|
||||||
|
:llist list locations
|
||||||
|
:lfile read locations from file using 'errorformat'
|
||||||
|
:lgetfile idem, don't jump to first one
|
||||||
|
|
||||||
Win32: Balloon text can't contain line break.
|
Win32: Balloon text can't contain line break.
|
||||||
Hints for multiline tooltips from Alexei Alexandrov (2005 Mar 26)
|
Hints for multiline tooltips from Alexei Alexandrov (2005 Mar 26)
|
||||||
@ -51,6 +63,9 @@ bytes? Avoids problems with sprintf() on MS-Windows. (Yongwei)
|
|||||||
Problem noticed: tooltips are messed up. Depends on the moment 'encoding' is
|
Problem noticed: tooltips are messed up. Depends on the moment 'encoding' is
|
||||||
changed.
|
changed.
|
||||||
|
|
||||||
|
Include new PHP indent script from John Wellesz?
|
||||||
|
http://www.vim.org/scripts/download_script.php?src_id=4330
|
||||||
|
|
||||||
autoload:
|
autoload:
|
||||||
- Add a Vim script in $VIMRUNTIME/tools that takes a file with a list of
|
- Add a Vim script in $VIMRUNTIME/tools that takes a file with a list of
|
||||||
script names and a help file and produces a script that can be sourced to
|
script names and a help file and produces a script that can be sourced to
|
||||||
|
@ -399,15 +399,20 @@ N *+X11* Unix only: can restore window title |X11|
|
|||||||
:redi[r] >> {file} Redirect messages to file {file}. Append if {file}
|
:redi[r] >> {file} Redirect messages to file {file}. Append if {file}
|
||||||
already exists. {not in Vi}
|
already exists. {not in Vi}
|
||||||
|
|
||||||
:redi[r] @{a-zA-Z} Redirect messages to register {a-z}. Append to the
|
:redi[r] @{a-zA-Z}> Redirect messages to register {a-z}. Append to the
|
||||||
contents of the register if its name is given
|
contents of the register if its name is given
|
||||||
uppercase {A-Z}. {not in Vi}
|
uppercase {A-Z}. For backward compatibility, the ">"
|
||||||
|
after the register name can be omitted. {not in Vi}
|
||||||
:redi[r] @{a-z}>> Append messages to register {a-z}. {not in Vi}
|
:redi[r] @{a-z}>> Append messages to register {a-z}. {not in Vi}
|
||||||
|
|
||||||
:redi[r] @* Redirect messages to the clipboard. {not in Vi}
|
:redi[r] @*> Redirect messages to the clipboard. For backward
|
||||||
|
compatibility, the ">" after the register name can be
|
||||||
|
omitted. {not in Vi}
|
||||||
:redi[r] @*>> Append messages to the clipboard. {not in Vi}
|
:redi[r] @*>> Append messages to the clipboard. {not in Vi}
|
||||||
|
|
||||||
:redi[r] @" Redirect messages to the unnamed register. {not in Vi}
|
:redi[r] @"> Redirect messages to the unnamed register. For
|
||||||
|
backward compatibility, the ">" after the register
|
||||||
|
name can be omitted. {not in Vi}
|
||||||
:redi[r] @">> Append messages to the unnamed register. {not in Vi}
|
:redi[r] @">> Append messages to the unnamed register. {not in Vi}
|
||||||
|
|
||||||
:redi[r] => {var} Redirect messages to a variable. If the variable
|
:redi[r] => {var} Redirect messages to a variable. If the variable
|
||||||
|
@ -38,11 +38,11 @@ static garray_T user_digraphs = {0, 0, sizeof(digr_T), 10, NULL};
|
|||||||
* Note: Characters marked with XX are not included literally, because some
|
* Note: Characters marked with XX are not included literally, because some
|
||||||
* compilers cannot handle them (Amiga SAS/C is the most picky one).
|
* compilers cannot handle them (Amiga SAS/C is the most picky one).
|
||||||
*/
|
*/
|
||||||
|
static digr_T digraphdefault[] =
|
||||||
#if defined(MSDOS) || defined(OS2)
|
#if defined(MSDOS) || defined(OS2)
|
||||||
/*
|
/*
|
||||||
* MSDOS digraphs.
|
* MSDOS digraphs.
|
||||||
*/
|
*/
|
||||||
digr_T digraphdefault[] =
|
|
||||||
{{'C', ',', 128}, /* ~@ XX */
|
{{'C', ',', 128}, /* ~@ XX */
|
||||||
{'u', '"', 129}, /* <20> */
|
{'u', '"', 129}, /* <20> */
|
||||||
{'e', '\'', 130}, /* ‚ */
|
{'e', '\'', 130}, /* ‚ */
|
||||||
@ -111,7 +111,6 @@ digr_T digraphdefault[] =
|
|||||||
/*
|
/*
|
||||||
* ATARI digraphs
|
* ATARI digraphs
|
||||||
*/
|
*/
|
||||||
digr_T digraphdefault[] =
|
|
||||||
{{'C', ',', 128}, /* ~@ XX */
|
{{'C', ',', 128}, /* ~@ XX */
|
||||||
{'u', '"', 129}, /* <20> */
|
{'u', '"', 129}, /* <20> */
|
||||||
{'e', '\'', 130}, /* ‚ */
|
{'e', '\'', 130}, /* ‚ */
|
||||||
@ -178,7 +177,6 @@ digr_T digraphdefault[] =
|
|||||||
/*
|
/*
|
||||||
* different HPUX digraphs
|
* different HPUX digraphs
|
||||||
*/
|
*/
|
||||||
digr_T digraphdefault[] =
|
|
||||||
{{'A', '`', 161}, /* ¡ */
|
{{'A', '`', 161}, /* ¡ */
|
||||||
{'A', '^', 162}, /* ¢ */
|
{'A', '^', 162}, /* ¢ */
|
||||||
{'E', '`', 163}, /* £ */
|
{'E', '`', 163}, /* £ */
|
||||||
@ -285,7 +283,6 @@ digr_T digraphdefault[] =
|
|||||||
* EBCDIC - ISO digraphs
|
* EBCDIC - ISO digraphs
|
||||||
* TODO: EBCDIC Table is Code-Page 1047
|
* TODO: EBCDIC Table is Code-Page 1047
|
||||||
*/
|
*/
|
||||||
digr_T digraphdefault[] =
|
|
||||||
{{'a', '^', 66}, /* â */
|
{{'a', '^', 66}, /* â */
|
||||||
{'a', '"', 67}, /* ä */
|
{'a', '"', 67}, /* ä */
|
||||||
{'a', '`', 68}, /* à */
|
{'a', '`', 68}, /* à */
|
||||||
@ -395,7 +392,6 @@ digr_T digraphdefault[] =
|
|||||||
/*
|
/*
|
||||||
* Macintosh digraphs
|
* Macintosh digraphs
|
||||||
*/
|
*/
|
||||||
digr_T digraphdefault[] =
|
|
||||||
{{'a', 't', 64}, /* @ */
|
{{'a', 't', 64}, /* @ */
|
||||||
{'A', '"', 128}, /* ~@ XX */
|
{'A', '"', 128}, /* ~@ XX */
|
||||||
{'A', 'o', 129}, /* Å */
|
{'A', 'o', 129}, /* Å */
|
||||||
@ -526,7 +522,6 @@ digr_T digraphdefault[] =
|
|||||||
/*
|
/*
|
||||||
* digraphs compatible with Vim 5.x
|
* digraphs compatible with Vim 5.x
|
||||||
*/
|
*/
|
||||||
digr_T digraphdefault[] =
|
|
||||||
{{'~', '!', 161}, /* ¡ */
|
{{'~', '!', 161}, /* ¡ */
|
||||||
{'c', '|', 162}, /* ¢ */
|
{'c', '|', 162}, /* ¢ */
|
||||||
{'$', '$', 163}, /* £ */
|
{'$', '$', 163}, /* £ */
|
||||||
@ -635,7 +630,6 @@ digr_T digraphdefault[] =
|
|||||||
* digraphs for Unicode from RFC1345
|
* digraphs for Unicode from RFC1345
|
||||||
* (also work for ISO-8859-1 aka latin1)
|
* (also work for ISO-8859-1 aka latin1)
|
||||||
*/
|
*/
|
||||||
digr_T digraphdefault[] =
|
|
||||||
{
|
{
|
||||||
{'N', 'U', 0x0a}, /* LF for NUL */
|
{'N', 'U', 0x0a}, /* LF for NUL */
|
||||||
{'S', 'H', 0x01},
|
{'S', 'H', 0x01},
|
||||||
|
14
src/edit.c
14
src/edit.c
@ -198,10 +198,10 @@ static int can_cindent; /* may do cindenting on this line */
|
|||||||
static int old_indent = 0; /* for ^^D command in insert mode */
|
static int old_indent = 0; /* for ^^D command in insert mode */
|
||||||
|
|
||||||
#ifdef FEAT_RIGHTLEFT
|
#ifdef FEAT_RIGHTLEFT
|
||||||
int revins_on; /* reverse insert mode on */
|
static int revins_on; /* reverse insert mode on */
|
||||||
int revins_chars; /* how much to skip after edit */
|
static int revins_chars; /* how much to skip after edit */
|
||||||
int revins_legal; /* was the last char 'legal'? */
|
static int revins_legal; /* was the last char 'legal'? */
|
||||||
int revins_scol; /* start column of revins session */
|
static int revins_scol; /* start column of revins session */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(FEAT_MBYTE) && defined(MACOS_CLASSIC)
|
#if defined(FEAT_MBYTE) && defined(MACOS_CLASSIC)
|
||||||
@ -5432,9 +5432,9 @@ echeck_abbr(c)
|
|||||||
* characters will be left on the stack above the newly inserted character.
|
* characters will be left on the stack above the newly inserted character.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char_u *replace_stack = NULL;
|
static char_u *replace_stack = NULL;
|
||||||
long replace_stack_nr = 0; /* next entry in replace stack */
|
static long replace_stack_nr = 0; /* next entry in replace stack */
|
||||||
long replace_stack_len = 0; /* max. number of entries */
|
static long replace_stack_len = 0; /* max. number of entries */
|
||||||
|
|
||||||
void
|
void
|
||||||
replace_push(c)
|
replace_push(c)
|
||||||
|
@ -7432,16 +7432,16 @@ hl_do_font(idx, arg, do_normal, do_menu, do_tooltip)
|
|||||||
* Note that this table is used by ALL buffers. This is required because the
|
* Note that this table is used by ALL buffers. This is required because the
|
||||||
* GUI can redraw at any time for any buffer.
|
* GUI can redraw at any time for any buffer.
|
||||||
*/
|
*/
|
||||||
garray_T term_attr_table = {0, 0, 0, 0, NULL};
|
static garray_T term_attr_table = {0, 0, 0, 0, NULL};
|
||||||
|
|
||||||
#define TERM_ATTR_ENTRY(idx) ((attrentry_T *)term_attr_table.ga_data)[idx]
|
#define TERM_ATTR_ENTRY(idx) ((attrentry_T *)term_attr_table.ga_data)[idx]
|
||||||
|
|
||||||
garray_T cterm_attr_table = {0, 0, 0, 0, NULL};
|
static garray_T cterm_attr_table = {0, 0, 0, 0, NULL};
|
||||||
|
|
||||||
#define CTERM_ATTR_ENTRY(idx) ((attrentry_T *)cterm_attr_table.ga_data)[idx]
|
#define CTERM_ATTR_ENTRY(idx) ((attrentry_T *)cterm_attr_table.ga_data)[idx]
|
||||||
|
|
||||||
#ifdef FEAT_GUI
|
#ifdef FEAT_GUI
|
||||||
garray_T gui_attr_table = {0, 0, 0, 0, NULL};
|
static garray_T gui_attr_table = {0, 0, 0, 0, NULL};
|
||||||
|
|
||||||
#define GUI_ATTR_ENTRY(idx) ((attrentry_T *)gui_attr_table.ga_data)[idx]
|
#define GUI_ATTR_ENTRY(idx) ((attrentry_T *)gui_attr_table.ga_data)[idx]
|
||||||
#endif
|
#endif
|
||||||
|
@ -144,7 +144,7 @@ static char_u *vim_tgetstr __ARGS((char *s, char_u **pp));
|
|||||||
|
|
||||||
static int detected_8bit = FALSE; /* detected 8-bit terminal */
|
static int detected_8bit = FALSE; /* detected 8-bit terminal */
|
||||||
|
|
||||||
struct builtin_term builtin_termcaps[] =
|
static struct builtin_term builtin_termcaps[] =
|
||||||
{
|
{
|
||||||
|
|
||||||
#if defined(FEAT_GUI)
|
#if defined(FEAT_GUI)
|
||||||
@ -2418,9 +2418,9 @@ tltoa(i)
|
|||||||
* minimal tgoto() implementation.
|
* minimal tgoto() implementation.
|
||||||
* no padding and we only parse for %i %d and %+char
|
* no padding and we only parse for %i %d and %+char
|
||||||
*/
|
*/
|
||||||
char *tgoto __ARGS((char *, int, int));
|
static char *tgoto __ARGS((char *, int, int));
|
||||||
|
|
||||||
char *
|
static char *
|
||||||
tgoto(cm, x, y)
|
tgoto(cm, x, y)
|
||||||
char *cm;
|
char *cm;
|
||||||
int x, y;
|
int x, y;
|
||||||
@ -3491,7 +3491,7 @@ scroll_region_reset()
|
|||||||
* List of terminal codes that are currently recognized.
|
* List of terminal codes that are currently recognized.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct termcode
|
static struct termcode
|
||||||
{
|
{
|
||||||
char_u name[2]; /* termcap name of entry */
|
char_u name[2]; /* termcap name of entry */
|
||||||
char_u *code; /* terminal code (in allocated memory) */
|
char_u *code; /* terminal code (in allocated memory) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user