forked from aniani/vim
updated for version 7.0112
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
*gui.txt* For Vim version 7.0aa. Last change: 2005 Jul 07
|
*gui.txt* For Vim version 7.0aa. Last change: 2005 Jul 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -736,9 +736,9 @@ from the main menu bar. You must then use the |:popup| or |:tearoff| command
|
|||||||
to display it.
|
to display it.
|
||||||
|
|
||||||
*popup-menu*
|
*popup-menu*
|
||||||
In the Win32, KDE, GTK+, Motif, Athena and Photon GUI, you can define the special
|
In the Win32, KDE, GTK+, Motif, Athena and Photon GUI, you can define the
|
||||||
menu "PopUp". This is the menu that is displayed when the right mouse button
|
special menu "PopUp". This is the menu that is displayed when the right mouse
|
||||||
is pressed, if 'mousemodel' is set to popup or popup_setpos.
|
button is pressed, if 'mousemodel' is set to popup or popup_setpos.
|
||||||
|
|
||||||
|
|
||||||
5.3 Showing What Menus Are Mapped To *showing-menus*
|
5.3 Showing What Menus Are Mapped To *showing-menus*
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
*map.txt* For Vim version 7.0aa. Last change: 2005 Jun 03
|
*map.txt* For Vim version 7.0aa. Last change: 2005 Jul 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -974,7 +974,7 @@ the 'path' option: >
|
|||||||
:com -nargs=1 -bang -complete=customlist,EditFileComplete
|
:com -nargs=1 -bang -complete=customlist,EditFileComplete
|
||||||
\ EditFile edit<bang> <args>
|
\ EditFile edit<bang> <args>
|
||||||
:fun EditFileComplete(A,L,P)
|
:fun EditFileComplete(A,L,P)
|
||||||
: return split(globpath(&path, a:ArgLead))
|
: return split(globpath(&path, a:ArgLead), "\n")
|
||||||
:endfun
|
:endfun
|
||||||
<
|
<
|
||||||
Range handling *E177* *E178*
|
Range handling *E177* *E178*
|
||||||
|
@@ -692,6 +692,7 @@ Buffers, windows and the argument list:
|
|||||||
winnr() get the window number for the current window
|
winnr() get the window number for the current window
|
||||||
bufwinnr() get the window number of a specific buffer
|
bufwinnr() get the window number of a specific buffer
|
||||||
winbufnr() get the buffer number of a specific window
|
winbufnr() get the buffer number of a specific window
|
||||||
|
getbufline() get a list of lines from the specified buffer
|
||||||
getbufvar() get a variable value from a specific buffer
|
getbufvar() get a variable value from a specific buffer
|
||||||
setbufvar() set a variable in a specific buffer
|
setbufvar() set a variable in a specific buffer
|
||||||
getwinvar() get a variable value from a specific window
|
getwinvar() get a variable value from a specific window
|
||||||
|
@@ -354,7 +354,7 @@ endif
|
|||||||
CFLAGS += -s
|
CFLAGS += -s
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LIB = -lkernel32 -luser32 -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl32
|
LIB = -lkernel32 -luser32 -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl32 -lversion
|
||||||
GUIOBJ = $(OUTDIR)/gui.o $(OUTDIR)/gui_w32.o $(OUTDIR)/gui_beval.o $(OUTDIR)/os_w32exe.o
|
GUIOBJ = $(OUTDIR)/gui.o $(OUTDIR)/gui_w32.o $(OUTDIR)/gui_beval.o $(OUTDIR)/os_w32exe.o
|
||||||
OBJ = \
|
OBJ = \
|
||||||
$(OUTDIR)/buffer.o \
|
$(OUTDIR)/buffer.o \
|
||||||
|
@@ -469,7 +469,7 @@ GUI_OBJ = \
|
|||||||
$(OUTDIR)\gui_w32.obj \
|
$(OUTDIR)\gui_w32.obj \
|
||||||
$(OUTDIR)\os_w32exe.obj
|
$(OUTDIR)\os_w32exe.obj
|
||||||
GUI_LIB = \
|
GUI_LIB = \
|
||||||
oldnames.lib kernel32.lib gdi32.lib $(IME_LIB) \
|
oldnames.lib kernel32.lib gdi32.lib version.lib $(IME_LIB) \
|
||||||
winspool.lib comctl32.lib advapi32.lib shell32.lib \
|
winspool.lib comctl32.lib advapi32.lib shell32.lib \
|
||||||
/machine:$(CPU) /nodefaultlib
|
/machine:$(CPU) /nodefaultlib
|
||||||
!else
|
!else
|
||||||
|
@@ -4341,6 +4341,7 @@ repl_cmdline(eap, src, srclen, repl, cmdlinep)
|
|||||||
*/
|
*/
|
||||||
i = (int)(src - *cmdlinep); /* length of part before match */
|
i = (int)(src - *cmdlinep); /* length of part before match */
|
||||||
mch_memmove(new_cmdline, *cmdlinep, (size_t)i);
|
mch_memmove(new_cmdline, *cmdlinep, (size_t)i);
|
||||||
|
|
||||||
mch_memmove(new_cmdline + i, repl, (size_t)len);
|
mch_memmove(new_cmdline + i, repl, (size_t)len);
|
||||||
i += len; /* remember the end of the string */
|
i += len; /* remember the end of the string */
|
||||||
STRCPY(new_cmdline + i, src + srclen);
|
STRCPY(new_cmdline + i, src + srclen);
|
||||||
|
@@ -6731,6 +6731,7 @@ static struct event_name
|
|||||||
{"InsertChange", EVENT_INSERTCHANGE},
|
{"InsertChange", EVENT_INSERTCHANGE},
|
||||||
{"InsertEnter", EVENT_INSERTENTER},
|
{"InsertEnter", EVENT_INSERTENTER},
|
||||||
{"InsertLeave", EVENT_INSERTLEAVE},
|
{"InsertLeave", EVENT_INSERTLEAVE},
|
||||||
|
{"MenuPopup", EVENT_MENUPOPUP},
|
||||||
{"QuickFixCmdPost", EVENT_QUICKFIXCMDPOST},
|
{"QuickFixCmdPost", EVENT_QUICKFIXCMDPOST},
|
||||||
{"QuickFixCmdPre", EVENT_QUICKFIXCMDPRE},
|
{"QuickFixCmdPre", EVENT_QUICKFIXCMDPRE},
|
||||||
{"RemoteReply", EVENT_REMOTEREPLY},
|
{"RemoteReply", EVENT_REMOTEREPLY},
|
||||||
|
@@ -473,7 +473,6 @@ mch_isFullName(char_u *fname)
|
|||||||
slash_adjust(p)
|
slash_adjust(p)
|
||||||
char_u *p;
|
char_u *p;
|
||||||
{
|
{
|
||||||
if (p != NULL)
|
|
||||||
while (*p)
|
while (*p)
|
||||||
{
|
{
|
||||||
if (*p == psepcN)
|
if (*p == psepcN)
|
||||||
|
@@ -2251,7 +2251,7 @@ fname_case(
|
|||||||
HANDLE hFind;
|
HANDLE hFind;
|
||||||
int c;
|
int c;
|
||||||
|
|
||||||
flen = (name != NULL) ? (int)STRLEN(name) : 0;
|
flen = (int)STRLEN(name);
|
||||||
if (flen == 0 || flen > _MAX_PATH)
|
if (flen == 0 || flen > _MAX_PATH)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@@ -12,14 +12,65 @@ ifndef VIMRUNTIME
|
|||||||
VIMRUNTIME = ../../runtime
|
VIMRUNTIME = ../../runtime
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LANGUAGES = af ca cs de en_GB es fr ga it ja ko no pl ru sk sv uk vi zh_TW \
|
LANGUAGES = af \
|
||||||
cs.cp1250 pl.cp1250 ru.cp1251 sk.cp1250 uk.cp1251 \
|
ca \
|
||||||
zh_TW.UTF-8 zh_CN zh_CN.cp936 zh_CN.UTF-8 ja.sjis
|
cs \
|
||||||
MOFILES = af.mo ca.mo cs.mo de.mo en_GB.mo es.mo fr.mo ga.mo it.mo ja.mo \
|
cs.cp1250 \
|
||||||
ko.mo no.mo pl.mo ru.mo sk.mo sv.mo uk.mo vi.mo \
|
de \
|
||||||
cs.cp1250.mo pl.cp1250.mo ru.cp1251.mo sk.cp1250.mo uk.cp1251.mo \
|
en_GB \
|
||||||
zh_TW.mo zh_TW.UTF-8.mo zh_CN.mo zh_CN.cp936.mo zh_CN.UTF-8.mo \
|
es \
|
||||||
ja.sjis.mo
|
fr \
|
||||||
|
ga \
|
||||||
|
it \
|
||||||
|
ja \
|
||||||
|
ja.sjis \
|
||||||
|
ko \
|
||||||
|
no \
|
||||||
|
pl \
|
||||||
|
pl.cp1250 \
|
||||||
|
ru \
|
||||||
|
ru.cp1251 \
|
||||||
|
sk \
|
||||||
|
sk.cp1250 \
|
||||||
|
sv \
|
||||||
|
uk \
|
||||||
|
uk.cp1251 \
|
||||||
|
vi \
|
||||||
|
zh_CN \
|
||||||
|
zh_CN.UTF-8 \
|
||||||
|
zh_CN.cp936 \
|
||||||
|
zh_TW \
|
||||||
|
zh_TW.UTF-8 \
|
||||||
|
|
||||||
|
MOFILES = af.mo \
|
||||||
|
ca.mo \
|
||||||
|
cs.cp1250.mo \
|
||||||
|
cs.mo \
|
||||||
|
de.mo \
|
||||||
|
en_GB.mo \
|
||||||
|
es.mo \
|
||||||
|
fr.mo \
|
||||||
|
ga.mo \
|
||||||
|
it.mo \
|
||||||
|
ja.mo \
|
||||||
|
ja.sjis.mo \
|
||||||
|
ko.mo \
|
||||||
|
no.mo \
|
||||||
|
pl.cp1250.mo \
|
||||||
|
pl.mo \
|
||||||
|
ru.cp1251.mo \
|
||||||
|
ru.mo \
|
||||||
|
sk.cp1250.mo \
|
||||||
|
sk.mo \
|
||||||
|
sv.mo \
|
||||||
|
uk.cp1251.mo \
|
||||||
|
uk.mo \
|
||||||
|
vi.mo \
|
||||||
|
zh_CN.UTF-8.mo \
|
||||||
|
zh_CN.cp936.mo \
|
||||||
|
zh_CN.mo \
|
||||||
|
zh_TW.UTF-8.mo \
|
||||||
|
zh_TW.mo \
|
||||||
|
|
||||||
PACKAGE = vim
|
PACKAGE = vim
|
||||||
|
|
||||||
|
@@ -10,11 +10,53 @@
|
|||||||
# language (xx) and add it to the next three lines.
|
# language (xx) and add it to the next three lines.
|
||||||
#
|
#
|
||||||
|
|
||||||
LANGUAGES = af ca cs de en_GB es fr ga it ja ko no pl ru sk sv uk vi zh_TW \
|
LANGUAGES = \
|
||||||
zh_TW.UTF-8 zh_CN zh_CN.UTF-8
|
af \
|
||||||
MOFILES = af.mo ca.mo cs.mo de.mo en_GB.mo es.mo fr.mo ga.mo it.mo ja.mo \
|
ca \
|
||||||
ko.mo no.mo pl.mo ru.mo sk.mo sv.mo uk.mo vi.mo \
|
cs \
|
||||||
zh_TW.mo zh_TW.UTF-8.mo zh_CN.mo zh_CN.UTF-8.mo
|
de \
|
||||||
|
en_GB \
|
||||||
|
es \
|
||||||
|
fr \
|
||||||
|
ga \
|
||||||
|
it \
|
||||||
|
ja \
|
||||||
|
ko \
|
||||||
|
no \
|
||||||
|
pl \
|
||||||
|
ru \
|
||||||
|
sk \
|
||||||
|
sv \
|
||||||
|
uk \
|
||||||
|
vi \
|
||||||
|
zh_CN \
|
||||||
|
zh_CN.UTF-8\
|
||||||
|
zh_TW \
|
||||||
|
zh_TW.UTF-8 \
|
||||||
|
|
||||||
|
MOFILES = \
|
||||||
|
af.mo \
|
||||||
|
ca.mo \
|
||||||
|
cs.mo \
|
||||||
|
de.mo \
|
||||||
|
en_GB.mo \
|
||||||
|
es.mo \
|
||||||
|
fr.mo \
|
||||||
|
ga.mo \
|
||||||
|
it.mo \
|
||||||
|
ja.mo \
|
||||||
|
ko.mo \
|
||||||
|
no.mo \
|
||||||
|
pl.mo \
|
||||||
|
ru.mo \
|
||||||
|
sk.mo \
|
||||||
|
sv.mo \
|
||||||
|
uk.mo \
|
||||||
|
vi.mo \
|
||||||
|
zh_CN.UTF-8.mo \
|
||||||
|
zh_CN.mo \
|
||||||
|
zh_TW.UTF-8.mo \
|
||||||
|
zh_TW.mo \
|
||||||
|
|
||||||
PACKAGE = vim
|
PACKAGE = vim
|
||||||
|
|
||||||
|
@@ -4,11 +4,53 @@
|
|||||||
# Note: ja.sjis, *.cp1250 and zh_CN.cp936 are only for MS-Windows, they are
|
# Note: ja.sjis, *.cp1250 and zh_CN.cp936 are only for MS-Windows, they are
|
||||||
# not installed on Unix
|
# not installed on Unix
|
||||||
|
|
||||||
LANGUAGES = af ca cs de en_GB es fr ga it ja ko no pl ru sk sv uk vi zh_TW \
|
LANGUAGES = \
|
||||||
zh_TW.UTF-8 zh_CN zh_CN.UTF-8
|
af \
|
||||||
MOFILES = af.mo ca.mo cs.mo de.mo en_GB.mo es.mo fr.mo ga.mo it.mo ja.mo \
|
ca \
|
||||||
ko.mo no.mo pl.mo ru.mo sk.mo sv.mo uk.mo vi.mo \
|
cs \
|
||||||
zh_TW.mo zh_TW.UTF-8.mo zh_CN.mo zh_CN.UTF-8.mo
|
de \
|
||||||
|
en_GB \
|
||||||
|
es \
|
||||||
|
fr \
|
||||||
|
ga \
|
||||||
|
it \
|
||||||
|
ja \
|
||||||
|
ko \
|
||||||
|
no \
|
||||||
|
pl \
|
||||||
|
ru \
|
||||||
|
sk \
|
||||||
|
sv \
|
||||||
|
uk \
|
||||||
|
vi \
|
||||||
|
zh_CN \
|
||||||
|
zh_CN.UTF-8 \
|
||||||
|
zh_TW \
|
||||||
|
zh_TW.UTF-8 \
|
||||||
|
|
||||||
|
MOFILES = \
|
||||||
|
af.mo \
|
||||||
|
ca.mo \
|
||||||
|
cs.mo \
|
||||||
|
de.mo \
|
||||||
|
en_GB.mo \
|
||||||
|
es.mo \
|
||||||
|
fr.mo \
|
||||||
|
ga.mo \
|
||||||
|
it.mo \
|
||||||
|
ja.mo \
|
||||||
|
ko.mo \
|
||||||
|
no.mo \
|
||||||
|
pl.mo \
|
||||||
|
ru.mo \
|
||||||
|
sk.mo \
|
||||||
|
sv.mo \
|
||||||
|
uk.mo \
|
||||||
|
vi.mo \
|
||||||
|
zh_CN.UTF-8.mo \
|
||||||
|
zh_CN.mo \
|
||||||
|
zh_TW.UTF-8.mo \
|
||||||
|
zh_TW.mo \
|
||||||
|
|
||||||
PACKAGE = vim
|
PACKAGE = vim
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
@@ -55,8 +97,14 @@ uninstall:
|
|||||||
rm -f $(LOCALEDIR)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
|
rm -f $(LOCALEDIR)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
|
||||||
done
|
done
|
||||||
|
|
||||||
converted: ja.sjis.mo cs.cp1250.mo pl.cp1250.mo sk.cp1250.mo zh_CN.cp936.mo \
|
converted: \
|
||||||
ru.cp1251.mo uk.cp1251.mo
|
cs.cp1250.mo \
|
||||||
|
ja.sjis.mo \
|
||||||
|
pl.cp1250.mo \
|
||||||
|
ru.cp1251.mo \
|
||||||
|
sk.cp1250.mo \
|
||||||
|
uk.cp1251.mo \
|
||||||
|
zh_CN.cp936.mo \
|
||||||
|
|
||||||
# Convert ja.po to create ja.sjis.po. Requires doubling backslashes in the
|
# Convert ja.po to create ja.sjis.po. Requires doubling backslashes in the
|
||||||
# second byte. Don't depend on sjiscorr, it should only be compiled when
|
# second byte. Don't depend on sjiscorr, it should only be compiled when
|
||||||
|
@@ -88,4 +88,5 @@ void gui_mch_post_balloon __ARGS((BalloonEval *beval, char_u *mesg));
|
|||||||
BalloonEval *gui_mch_create_beval_area __ARGS((void *target, char_u *mesg, void (*mesgCB)(BalloonEval *, int), void *clientData));
|
BalloonEval *gui_mch_create_beval_area __ARGS((void *target, char_u *mesg, void (*mesgCB)(BalloonEval *, int), void *clientData));
|
||||||
void gui_mch_destroy_beval_area __ARGS((BalloonEval *beval));
|
void gui_mch_destroy_beval_area __ARGS((BalloonEval *beval));
|
||||||
void netbeans_draw_multisign_indicator __ARGS((int row));
|
void netbeans_draw_multisign_indicator __ARGS((int row));
|
||||||
|
int multiline_balloon_available __ARGS((void));
|
||||||
/* vim: set ft=c : */
|
/* vim: set ft=c : */
|
||||||
|
@@ -1080,6 +1080,7 @@ enum auto_event
|
|||||||
EVENT_INSERTCHANGE, /* when changing Insert/Replace mode */
|
EVENT_INSERTCHANGE, /* when changing Insert/Replace mode */
|
||||||
EVENT_INSERTENTER, /* when entering Insert mode */
|
EVENT_INSERTENTER, /* when entering Insert mode */
|
||||||
EVENT_INSERTLEAVE, /* when leaving Insert mode */
|
EVENT_INSERTLEAVE, /* when leaving Insert mode */
|
||||||
|
EVENT_MENUPOPUP, /* just before popup menu is displayed */
|
||||||
EVENT_QUICKFIXCMDPOST, /* after :make, :grep etc */
|
EVENT_QUICKFIXCMDPOST, /* after :make, :grep etc */
|
||||||
EVENT_QUICKFIXCMDPRE, /* before :make, :grep etc */
|
EVENT_QUICKFIXCMDPRE, /* before :make, :grep etc */
|
||||||
EVENT_STDINREADPOST, /* after reading from stdin */
|
EVENT_STDINREADPOST, /* after reading from stdin */
|
||||||
|
Reference in New Issue
Block a user