forked from aniani/vim
patch 7.4.1738
Problem: Count for ":messages" depends on number of lines. Solution: Add ADDR_OTHER address type.
This commit is contained in:
@@ -66,6 +66,7 @@
|
|||||||
#define ADDR_BUFFERS 4
|
#define ADDR_BUFFERS 4
|
||||||
#define ADDR_TABS 5
|
#define ADDR_TABS 5
|
||||||
#define ADDR_QUICKFIX 6
|
#define ADDR_QUICKFIX 6
|
||||||
|
#define ADDR_OTHER 99
|
||||||
|
|
||||||
#ifndef DO_DECLARE_EXCMD
|
#ifndef DO_DECLARE_EXCMD
|
||||||
typedef struct exarg exarg_T;
|
typedef struct exarg exarg_T;
|
||||||
@@ -887,7 +888,7 @@ EX(CMD_menutranslate, "menutranslate", ex_menutranslate,
|
|||||||
ADDR_LINES),
|
ADDR_LINES),
|
||||||
EX(CMD_messages, "messages", ex_messages,
|
EX(CMD_messages, "messages", ex_messages,
|
||||||
EXTRA|TRLBAR|RANGE|CMDWIN,
|
EXTRA|TRLBAR|RANGE|CMDWIN,
|
||||||
ADDR_LINES),
|
ADDR_OTHER),
|
||||||
EX(CMD_mkexrc, "mkexrc", ex_mkrc,
|
EX(CMD_mkexrc, "mkexrc", ex_mkrc,
|
||||||
BANG|FILE1|TRLBAR|CMDWIN,
|
BANG|FILE1|TRLBAR|CMDWIN,
|
||||||
ADDR_LINES),
|
ADDR_LINES),
|
||||||
|
@@ -748,6 +748,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1738,
|
||||||
/**/
|
/**/
|
||||||
1737,
|
1737,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user