From 56a907af93bfd0a51f79c7441d679889d936a223 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 6 May 2006 21:44:30 +0000 Subject: [PATCH] updated for version 7.0g05 --- runtime/doc/autocmd.txt | 6 +++--- runtime/doc/eval.txt | 13 ++++++++----- runtime/spell/en.latin1.spl | Bin 570117 -> 570117 bytes runtime/spell/en.utf-8.sug | Bin 556546 -> 556546 bytes src/gui_w32.c | 15 +++++++++++++-- src/version.h | 6 +++--- 6 files changed, 27 insertions(+), 13 deletions(-) diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index b79a5efe73..52dc026431 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 7.0g. Last change: 2006 Apr 30 +*autocmd.txt* For Vim version 7.0g. Last change: 2006 May 06 VIM REFERENCE MANUAL by Bram Moolenaar @@ -734,8 +734,8 @@ Syntax When the 'syntax' option has been set. See |:syn-on|. *TabEnter* TabEnter Just after entering a tab page. |tab-page| - Before triggering the WinEnter and BufEnter - events. + After triggering the WinEnter and before + triggering the BufEnter event. *TabLeave* TabLeave Just before leaving a tab page. |tab-page| A WinLeave event will have been triggered diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 97940895b8..8bc6a4b2d0 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.0g. Last change: 2006 May 05 +*eval.txt* For Vim version 7.0g. Last change: 2006 May 06 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2691,12 +2691,14 @@ getchar([expr]) *getchar()* result is a number. Use nr2char() to convert it to a String. Otherwise a String is returned with the encoded character. For a special key it's a sequence of bytes starting with 0x80 - (decimal: 128). The returned value is also a String when a - modifier (shift, control, alt) was used that is not included - in the character. + (decimal: 128). This is the same value as the string + "\", e.g., "\". The returned value is also a + String when a modifier (shift, control, alt) was used that is + not included in the character. When {expr} is 1 only the first byte is returned. For a - one-byte character it is the character itself. + one-byte character it is the character itself as a number. + Use nr2char() to convert it to a String. There is no prompt, you will somehow have to make clear to the user that a character has to be typed. @@ -4677,6 +4679,7 @@ substitute({expr}, {pat}, {sub}, {flags}) *substitute()* like the ":substitute" command (without any flags). But the matching with {pat} is always done like the 'magic' option is set and 'cpoptions' is empty (to make scripts portable). + 'ignorecase' is still relevant. See |string-match| for how {pat} is used. And a "~" in {sub} is not replaced with the previous {sub}. Note that some codes in {sub} have a special meaning diff --git a/runtime/spell/en.latin1.spl b/runtime/spell/en.latin1.spl index 2e5d1e9d87d22f83447b9786ef98363e330467f6..bdf0c0943621a5f2fe9e87d7fec6fac043dd707d 100644 GIT binary patch delta 50 xcmZpDrqudOX@e0DbM(ogW>cPaQyxYjW&&bnAZ7t#Rv=~rV)pH(JRBF60RWcw4sZYf delta 50 xcmZpDrqudOX@e0Dv(4Y*&89rDK+FQftU$~L#O&Kmc{naC0|2I}4%z?! diff --git a/runtime/spell/en.utf-8.sug b/runtime/spell/en.utf-8.sug index 29a31777c3d1e5c21f213b08b68c38fd8accd8c8..9009381e290622b098390dcf8fd41f02256d6fbf 100644 GIT binary patch delta 50 zcmZqrquBIEkw47Sx41N&kpT!?qEFT~^0)Fcw(>Kz@-w&cv$XQFw(_&J^0RN{=lEO; E0E}}EV*mgE delta 50 zcmZqrquBIEkw47Sx41N&kpT!?Z2n$r 300) + workarea_left = 0; + else + workarea_left = workarea_rect.left; + /* If the window is going off the screen, move it on to the screen. * win_xpos and win_ypos are relative to the workarea. */ if ((direction & RESIZE_HOR) - && workarea_rect.left + win_xpos + win_width > workarea_rect.right) - win_xpos = workarea_rect.right - win_width - workarea_rect.left; + && workarea_left + win_xpos + win_width > workarea_rect.right) + win_xpos = workarea_rect.right - win_width - workarea_left; if ((direction & RESIZE_HOR) && win_xpos < 0) win_xpos = 0; diff --git a/src/version.h b/src/version.h index 389219d493..88c9d2ee12 100644 --- a/src/version.h +++ b/src/version.h @@ -35,6 +35,6 @@ */ #define VIM_VERSION_NODOT "vim70g" #define VIM_VERSION_SHORT "7.0g" -#define VIM_VERSION_MEDIUM "7.0g04 BETA" -#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0g04 BETA (2006 May 5)" -#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0g04 BETA (2006 May 5, compiled " +#define VIM_VERSION_MEDIUM "7.0g05 BETA" +#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0g05 BETA (2006 May 6)" +#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0g05 BETA (2006 May 6, compiled "