# HG changeset patch # User vimboss # Date 1142462915 0 # Node ID fa0447b7a8a0183355a947d64923e3b05c2c965d # Parent 8a6982d59d8ef4afa5c178d772bd2943665f0146 updated for version 7.0225 diff --git a/src/proto.h b/src/proto.h --- a/src/proto.h +++ b/src/proto.h @@ -255,7 +255,7 @@ extern char *vim_SelFile __ARGS((Widget # include "if_perlsfio.pro" #endif -#if defined(FEAT_MBYTE) && defined(MACOS_X) +#ifdef MACOS_CONVERT # include "os_mac_conv.pro" #endif diff --git a/src/testdir/test61.ok b/src/testdir/test61.ok new file mode 100644 --- /dev/null +++ b/src/testdir/test61.ok @@ -0,0 +1,22 @@ +456789 +3456789 +23456789 +123456789 +123456789 +1111 ----- +123456 +1234567 +12345678 +123456789 +456789 +3456789 +23456789 +123456789 +123456789 +123456 +2222 ----- +123456abc +123456 +123456789 +123456 +123456abc diff --git a/src/vim.h b/src/vim.h --- a/src/vim.h +++ b/src/vim.h @@ -80,7 +80,6 @@ # define FEAT_GUI_MAC #endif - #if defined(FEAT_GUI_MOTIF) \ || defined(FEAT_GUI_GTK) \ || defined(FEAT_GUI_ATHENA) \ @@ -192,6 +191,11 @@ # endif #endif +/* The Mac conversion stuff doesn't work under X11. */ +#if defined(FEAT_MBYTE) && defined(MACOS_X) +# define MACOS_CONVERT +#endif + /* Can't use "PACKAGE" here, conflicts with a Perl include file. */ #ifndef VIMPACKAGE # define VIMPACKAGE "vim" @@ -1083,6 +1087,7 @@ enum auto_event EVENT_FILEAPPENDPRE, /* before appending to a file */ EVENT_FILEAPPENDCMD, /* appende to a file using command */ EVENT_FILECHANGEDSHELL, /* after shell command that changed file */ + EVENT_FILECHANGEDSHELLPOST, /* after (not) reloading changed file */ EVENT_FILECHANGEDRO, /* before first change to read-only file */ EVENT_FILEREADPOST, /* after reading a file */ EVENT_FILEREADPRE, /* before reading a file */ @@ -1114,6 +1119,7 @@ enum auto_event EVENT_VIMENTER, /* after starting Vim */ EVENT_VIMLEAVE, /* before exiting Vim */ EVENT_VIMLEAVEPRE, /* before exiting Vim and writing .viminfo */ + EVENT_VIMRESIZED, /* after Vim window was resized */ EVENT_WINENTER, /* after entering a window */ EVENT_WINLEAVE, /* before leaving a window */ EVENT_ENCODINGCHANGED, /* after changing the 'encoding' option */