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

updated for version 7.0046

This commit is contained in:
Bram Moolenaar 2005-01-31 19:02:28 +00:00
parent 0182465bc0
commit 65c1b01669
9 changed files with 1892 additions and 1487 deletions

View File

@ -1,4 +1,4 @@
*netbeans.txt* For Vim version 7.0aa. Last change: 2004 Jun 16 *netbeans.txt* For Vim version 7.0aa. Last change: 2005 Jan 31
VIM REFERENCE MANUAL by Gordon Prieur VIM REFERENCE MANUAL by Gordon Prieur
@ -16,7 +16,8 @@ NetBeans ExternalEditor Integration Features *netbeans*
8. Messages |netbeans-messages| 8. Messages |netbeans-messages|
9. Running Vim from NetBeans |netbeans-run| 9. Running Vim from NetBeans |netbeans-run|
10. NetBeans protocol |netbeans-protocol| 10. NetBeans protocol |netbeans-protocol|
11. Known problems |netbeans-problems| 11. NetBeans commands |netbeans-commands|
12. Known problems |netbeans-problems|
{Vi does not have any of these features} {Vi does not have any of these features}
{only available when compiled with the |+netbeans_intg| feature} {only available when compiled with the |+netbeans_intg| feature}
@ -197,6 +198,14 @@ NetBeans connection lost for this buffer
for saving changes to this file and NetBeans will no longer for saving changes to this file and NetBeans will no longer
know of these changes. know of these changes.
*E744*
NetBeans does not allow changes in read-only files
Vim normally allows changes to a read-only file and only
enforces the read-only rule if you try to write the file.
However, NetBeans does not let you make changes to a file
which is read-only and becomes confused if vim does this.
So vim does not allow modifications to files when run with
NetBeans.
============================================================================== ==============================================================================
9. Running Vim from NetBeans *netbeans-run* 9. Running Vim from NetBeans *netbeans-run*
@ -755,7 +764,18 @@ DETACH IDE -> editor: break the connection without exiting the
REJECT Not used. REJECT Not used.
============================================================================== ==============================================================================
11. Known problems *netbeans-problems* 11. NetBeans Commands *netbeans-commands*
*:nbkey*
:nbkey key Pass the key to NetBeans for processing
Pass the key to NetBeans for hot-key processing. You should not need to use
this command directly. However, NetBeans passes a list of hot-keys to Vim at
startup and when one of these keys is pressed, this command is generated to
send the key press back to NetBeans.
==============================================================================
12. Known problems *netbeans-problems*
NUL bytes are not possible. For editor -> IDE they will appear as NL NUL bytes are not possible. For editor -> IDE they will appear as NL
characters. For IDE -> editor they cannot be inserted. characters. For IDE -> editor they cannot be inserted.

View File

@ -1 +1,3 @@
" Menu Translations: Traditional Chinese
source <sfile>:p:h/menu_chinese_taiwan.950.vim source <sfile>:p:h/menu_chinese_taiwan.950.vim

View File

@ -1,9 +1,9 @@
" ipfilter syntax file " ipfilter syntax file
" Language: ipfilter configuration file " Language: ipfilter configuration file
" Maintainer: Hendrik Scholz <hendrik@scholz.net> " Maintainer: Hendrik Scholz <hendrik@scholz.net>
" Last Change: 2005 Jan 23 " Last Change: 2005 Jan 27
" "
" http://raisdorf.net/files/misc/ipfilter.vim " http://www.wormulon.net/files/misc/ipfilter.vim
" "
" This will also work for OpenBSD pf but there might be some tags that are " This will also work for OpenBSD pf but there might be some tags that are
" not correctly identified. " not correctly identified.
@ -17,27 +17,41 @@ elseif exists("b:current_syntax")
finish finish
endif endif
" comments " Comment
"syn match ipfComment /#/ syn match IPFComment /#.*$/ contains=ipfTodo
syn match ipfComment /#.*/ syn keyword IPFTodo TODO XXX FIXME contained
syn keyword ipfQuick quick log dup-to syn keyword IPFActionBlock block
syn keyword ipfAny all any syn keyword IPFActionPass pass
" rule Action type syn keyword IPFProto tcp udp icmp
syn region ipfActionBlock start=/^block/ end=/$/ contains=ipfQuick,ipfAny syn keyword IPFSpecial quick log first
syn region ipfActionPass start=/^pass/ end=/$/ contains=ipfQuick,ipfAny " how could we use keyword for words with '-' ?
syn region ipfActionMisc start=/^log/ end=/$/ contains=ipfQuick,ipfAny syn match IPFSpecial /return-rst/
syn region ipfActionMisc start=/^count/ end=/$/ contains=ipfQuick,ipfAny syn match IPFSpecial /dup-to/
syn region ipfActionMisc start=/^skip/ end=/$/ contains=ipfQuick,ipfAny "syn match IPFSpecial /icmp-type unreach/
syn region ipfActionMisc start=/^auth/ end=/$/ contains=ipfQuick,ipfAny syn keyword IPFAny all any
syn region ipfActionMisc start=/^call/ end=/$/ contains=ipfQuick,ipfAny syn match IPFIPv4 /\d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/
syn match IPFNetmask /\/\d\+/
hi def link ipfComment Comment " service name constants
syn keyword IPFService auth bgp domain finger ftp http https ident
syn keyword IPFService imap irc isakmp kerberos mail nameserver nfs
syn keyword IPFService nntp ntp pop3 portmap pptp rpcbind rsync smtp
syn keyword IPFService snmp snmptrap socks ssh sunrpc syslog telnet
syn keyword IPFService tftp www
" Comment
hi def link IPFComment Comment
hi def link IPFTodo Todo
hi def link IPFService Constant
hi def link IPFAction Type
hi def link ipfActionBlock String hi def link ipfActionBlock String
hi def link ipfActionPass Type hi def link ipfActionPass Type
hi def link ipfActionMisc Label hi def link IPFSpecial Statement
"hi def link ipfQuick Error hi def link IPFIPv4 Label
hi def link ipfQuick Special hi def link IPFNetmask String
hi def link ipfAny Statement hi def link IPFAny Statement
hi def link IPFProto Identifier

View File

@ -20,6 +20,7 @@ Contents:
5. Using Mingw 5. Using Mingw
6. Cross compiling for Win32 from a Linux machine 6. Cross compiling for Win32 from a Linux machine
7. Building with Python support 7. Building with Python support
8. Building with MzScheme support
1. MS-DOS 1. MS-DOS
@ -310,3 +311,38 @@ Now just do:
make -f Make_ming.mak gvim.exe make -f Make_ming.mak gvim.exe
and you will end up with a Python-enabled, Win32 version. Enjoy! and you will end up with a Python-enabled, Win32 version. Enjoy!
8. Building with MzScheme support
=================================================
(written by Sergey Khorev <sergey.khorev@gmail.com>)
Vim with MzScheme (http://www.plt-scheme.org/software/mzscheme) support can
be built with either MSVC, or MinGW, or Cygwin. Supported versions are 205 and
above (including 299 and 30x series).
The MSVC build is quite straightforward. Simply invoke (in one line)
nmake -fMake_mvc.mak MZSCHEME=<Path-to-MzScheme>
[MZSCHEME_VER=<MzScheme-version>] [DYNAMIC_MZSCHEME=<yes or no>]
where <MzScheme-version> is the last seven characters from MzScheme dll name
(libmzschXXXXXXX.dll).
If DYNAMIC_MZSCHEME=yes, resulting executable will not depend on MzScheme
DLL's, but will load them in runtime on demand.
Building dynamic MzScheme support on MinGW and Cygwin is similar. Take into
account that <Path-to-MzScheme> should contain slashes rather than backslashes
(e.g. d:/Develop/MzScheme)
"Static" MzScheme support (Vim executable will depend on MzScheme DLLs
explicitly) on MinGW and Cygwin requires additional step.
libmzschXXXXXXX.dll and libmzgcXXXXXXX.dll should be copied from
%WINDOWS%\System32 to other location (either build directory, some temporary
dir or even MzScheme home).
Pass that path as MZSCHEME_DLLS parameter for Make. E.g.,
make -fMake_cyg.mak MZSCHEME=d:/Develop/MzScheme MZSCHEME_VER=209_000
MZSCHEME_DLLS=c:/Temp DYNAMIC_MZSCHEME=no
After successful build these dlls can be freely removed, leaving them in
%WINDOWS%\System32 only.

View File

@ -1,6 +1,8 @@
# #
# Makefile for VIM on Win32, using Cygnus gcc # Makefile for VIM on Win32, using Cygnus gcc
# Last updated by Dan Sharp. Last Change: 2005 Jan 19 # Last updated by Dan Sharp. Last Change: 2005 Jan 29
#
# Also read INSTALLpc.txt!
# #
# This compiles Vim as a Windows application. If you want Vim to run as a # This compiles Vim as a Windows application. If you want Vim to run as a
# Cygwin application use the Makefile (just like on Unix). # Cygwin application use the Makefile (just like on Unix).
@ -21,13 +23,7 @@
# MZSCHEME define to path to MzScheme dir to get MZSCHEME support (not defined) # MZSCHEME define to path to MzScheme dir to get MZSCHEME support (not defined)
# MZSCHEME_VER define to version of MzScheme being used (209_000) # MZSCHEME_VER define to version of MzScheme being used (209_000)
# DYNAMIC_MZSCHEME no or yes: use yes to load the MzScheme DLLs dynamically (yes) # DYNAMIC_MZSCHEME no or yes: use yes to load the MzScheme DLLs dynamically (yes)
# MZSCHEME_DLLS path to MzScheme DLLs (libmzgc and libmzsch). # MZSCHEME_DLLS path to MzScheme DLLs (libmzgc and libmzsch), for "static" build.
# Is used for DYNAMIC_MZSCHEME=no only.
# c:/windows/system32 isn't a good idea, copy them to some
# dir and point MZSCHEME_DLLS to this dir.
# By default $(MZSCHEME) will be used. You can remove
# these DLLs from $(MZSCHEME_DLLS) after you
# built Vim (they are used for dll "static" linking only)
# GETTEXT no or yes: set to yes for dynamic gettext support (yes) # GETTEXT no or yes: set to yes for dynamic gettext support (yes)
# ICONV no or yes: set to yes for dynamic iconv support (yes) # ICONV no or yes: set to yes for dynamic iconv support (yes)
# MBYTE no or yes: set to yes to include multibyte support (yes) # MBYTE no or yes: set to yes to include multibyte support (yes)

View File

@ -19,7 +19,10 @@
# DYNAMIC_IME=[yes or no] (to load the imm32.dll dynamically, default # DYNAMIC_IME=[yes or no] (to load the imm32.dll dynamically, default
# is yes) # is yes)
# Global IME support: GIME=yes (requires GUI=yes) # Global IME support: GIME=yes (requires GUI=yes)
# MzScheme interface: MZSCHEME=[Path to MzScheme directory], MZSCHEME_VER=[version, 205_000, ...] # MzScheme interface:
# MZSCHEME=[Path to MzScheme directory]
# DYNAMIC_MZSCHEME=yes (to load the MzScheme DLLs dynamically)
# MZSCHEME_VER=[version, 205_000, ...]
# Perl interface: # Perl interface:
# PERL=[Path to Perl directory] # PERL=[Path to Perl directory]
# DYNAMIC_PERL=yes (to load the Perl DLL dynamically) # DYNAMIC_PERL=yes (to load the Perl DLL dynamically)

View File

@ -336,6 +336,8 @@ static void ex_tag_cmd __ARGS((exarg_T *eap, char_u *name));
# define ex_endfunction ex_ni # define ex_endfunction ex_ni
# define ex_let ex_ni # define ex_let ex_ni
# define ex_unlet ex_ni # define ex_unlet ex_ni
# define ex_lockvar ex_ni
# define ex_unlockvar ex_ni
# define ex_function ex_ni # define ex_function ex_ni
# define ex_delfunction ex_ni # define ex_delfunction ex_ni
# define ex_return ex_ni # define ex_return ex_ni

View File

@ -1397,7 +1397,7 @@ EXTERN char_u e_invexprmsg[] INIT(=N_("E449: Invalid expression received"));
#endif #endif
#ifdef FEAT_NETBEANS_INTG #ifdef FEAT_NETBEANS_INTG
EXTERN char_u e_guarded[] INIT(=N_("E463: Region is guarded, cannot modify")); EXTERN char_u e_guarded[] INIT(=N_("E463: Region is guarded, cannot modify"));
EXTERN char_u e_nbreadonly[] INIT(=N_("E680: NetBeans does not allow changes in read-only files")); EXTERN char_u e_nbreadonly[] INIT(=N_("E744: NetBeans does not allow changes in read-only files"));
#endif #endif
#if defined(FEAT_EVAL) || defined(FEAT_SYN_HL) #if defined(FEAT_EVAL) || defined(FEAT_SYN_HL)
EXTERN char_u e_intern2[] INIT(=N_("E685: Internal error: %s")); EXTERN char_u e_intern2[] INIT(=N_("E685: Internal error: %s"));

File diff suppressed because it is too large Load Diff