1
0
forked from aniani/vim

updated for version 7.0112

This commit is contained in:
Bram Moolenaar
2005-07-21 21:03:15 +00:00
parent 80fc04348a
commit a3ffd9c780
14 changed files with 181 additions and 36 deletions

View File

@@ -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
@@ -736,9 +736,9 @@ from the main menu bar. You must then use the |:popup| or |:tearoff| command
to display it.
*popup-menu*
In the Win32, KDE, GTK+, Motif, Athena and Photon GUI, you can define the special
menu "PopUp". This is the menu that is displayed when the right mouse button
is pressed, if 'mousemodel' is set to popup or popup_setpos.
In the Win32, KDE, GTK+, Motif, Athena and Photon GUI, you can define the
special menu "PopUp". This is the menu that is displayed when the right mouse
button is pressed, if 'mousemodel' is set to popup or popup_setpos.
5.3 Showing What Menus Are Mapped To *showing-menus*

View File

@@ -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
@@ -974,7 +974,7 @@ the 'path' option: >
:com -nargs=1 -bang -complete=customlist,EditFileComplete
\ EditFile edit<bang> <args>
:fun EditFileComplete(A,L,P)
: return split(globpath(&path, a:ArgLead))
: return split(globpath(&path, a:ArgLead), "\n")
:endfun
<
Range handling *E177* *E178*

View File

@@ -692,6 +692,7 @@ Buffers, windows and the argument list:
winnr() get the window number for the current window
bufwinnr() get the window number of a specific buffer
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
setbufvar() set a variable in a specific buffer
getwinvar() get a variable value from a specific window

View File

@@ -354,7 +354,7 @@ endif
CFLAGS += -s
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
OBJ = \
$(OUTDIR)/buffer.o \

View File

@@ -469,7 +469,7 @@ GUI_OBJ = \
$(OUTDIR)\gui_w32.obj \
$(OUTDIR)\os_w32exe.obj
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 \
/machine:$(CPU) /nodefaultlib
!else

View File

@@ -4341,6 +4341,7 @@ repl_cmdline(eap, src, srclen, repl, cmdlinep)
*/
i = (int)(src - *cmdlinep); /* length of part before match */
mch_memmove(new_cmdline, *cmdlinep, (size_t)i);
mch_memmove(new_cmdline + i, repl, (size_t)len);
i += len; /* remember the end of the string */
STRCPY(new_cmdline + i, src + srclen);

View File

@@ -6731,6 +6731,7 @@ static struct event_name
{"InsertChange", EVENT_INSERTCHANGE},
{"InsertEnter", EVENT_INSERTENTER},
{"InsertLeave", EVENT_INSERTLEAVE},
{"MenuPopup", EVENT_MENUPOPUP},
{"QuickFixCmdPost", EVENT_QUICKFIXCMDPOST},
{"QuickFixCmdPre", EVENT_QUICKFIXCMDPRE},
{"RemoteReply", EVENT_REMOTEREPLY},

View File

@@ -473,13 +473,12 @@ mch_isFullName(char_u *fname)
slash_adjust(p)
char_u *p;
{
if (p != NULL)
while (*p)
{
if (*p == psepcN)
*p = psepc;
mb_ptr_adv(p);
}
while (*p)
{
if (*p == psepcN)
*p = psepc;
mb_ptr_adv(p);
}
}

View File

@@ -2251,7 +2251,7 @@ fname_case(
HANDLE hFind;
int c;
flen = (name != NULL) ? (int)STRLEN(name) : 0;
flen = (int)STRLEN(name);
if (flen == 0 || flen > _MAX_PATH)
return;

View File

@@ -12,14 +12,65 @@ ifndef VIMRUNTIME
VIMRUNTIME = ../../runtime
endif
LANGUAGES = af ca cs de en_GB es fr ga it ja ko no pl ru sk sv uk vi zh_TW \
cs.cp1250 pl.cp1250 ru.cp1251 sk.cp1250 uk.cp1251 \
zh_TW.UTF-8 zh_CN zh_CN.cp936 zh_CN.UTF-8 ja.sjis
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 \
cs.cp1250.mo pl.cp1250.mo ru.cp1251.mo sk.cp1250.mo uk.cp1251.mo \
zh_TW.mo zh_TW.UTF-8.mo zh_CN.mo zh_CN.cp936.mo zh_CN.UTF-8.mo \
ja.sjis.mo
LANGUAGES = af \
ca \
cs \
cs.cp1250 \
de \
en_GB \
es \
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

View File

@@ -10,11 +10,53 @@
# 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 \
zh_TW.UTF-8 zh_CN zh_CN.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_TW.mo zh_TW.UTF-8.mo zh_CN.mo zh_CN.UTF-8.mo
LANGUAGES = \
af \
ca \
cs \
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

View File

@@ -4,11 +4,53 @@
# Note: ja.sjis, *.cp1250 and zh_CN.cp936 are only for MS-Windows, they are
# 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 \
zh_TW.UTF-8 zh_CN zh_CN.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_TW.mo zh_TW.UTF-8.mo zh_CN.mo zh_CN.UTF-8.mo
LANGUAGES = \
af \
ca \
cs \
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
SHELL = /bin/sh
@@ -55,8 +97,14 @@ uninstall:
rm -f $(LOCALEDIR)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
done
converted: ja.sjis.mo cs.cp1250.mo pl.cp1250.mo sk.cp1250.mo zh_CN.cp936.mo \
ru.cp1251.mo uk.cp1251.mo
converted: \
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
# second byte. Don't depend on sjiscorr, it should only be compiled when

View File

@@ -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));
void gui_mch_destroy_beval_area __ARGS((BalloonEval *beval));
void netbeans_draw_multisign_indicator __ARGS((int row));
int multiline_balloon_available __ARGS((void));
/* vim: set ft=c : */

View File

@@ -1080,6 +1080,7 @@ enum auto_event
EVENT_INSERTCHANGE, /* when changing Insert/Replace mode */
EVENT_INSERTENTER, /* when entering Insert mode */
EVENT_INSERTLEAVE, /* when leaving Insert mode */
EVENT_MENUPOPUP, /* just before popup menu is displayed */
EVENT_QUICKFIXCMDPOST, /* after :make, :grep etc */
EVENT_QUICKFIXCMDPRE, /* before :make, :grep etc */
EVENT_STDINREADPOST, /* after reading from stdin */