mirror of
https://github.com/vim/vim.git
synced 2025-08-25 19:53:53 -04:00
updated for version 7.0105
This commit is contained in:
parent
63b80986ac
commit
045e82deef
@ -1,4 +1,4 @@
|
|||||||
*eval.txt* For Vim version 7.0aa. Last change: 2005 Jul 06
|
*eval.txt* For Vim version 7.0aa. Last change: 2005 Jul 07
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -6470,7 +6470,7 @@ These items are not allowed in the sandbox:
|
|||||||
This is not guaranteed 100% secure, but it should block most attacks.
|
This is not guaranteed 100% secure, but it should block most attacks.
|
||||||
|
|
||||||
*:san* *:sandbox*
|
*:san* *:sandbox*
|
||||||
:san[dbox] {cmd Execute {cmd} in the sandbox. Useful to evaluate an
|
:san[dbox] {cmd} Execute {cmd} in the sandbox. Useful to evaluate an
|
||||||
option that may have been set from a modeline, e.g.
|
option that may have been set from a modeline, e.g.
|
||||||
'foldexpr'.
|
'foldexpr'.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 7.0aa. Last change: 2005 Jul 04
|
*options.txt* For Vim version 7.0aa. Last change: 2005 Jul 08
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -5662,7 +5662,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
{not available when compiled without the |+syntax|
|
{not available when compiled without the |+syntax|
|
||||||
feature}
|
feature}
|
||||||
Name of the word list file where words are added for the |zg| and |zw|
|
Name of the word list file where words are added for the |zg| and |zw|
|
||||||
commands. It must end in ".{encoding}.add".
|
commands. It must end in ".{encoding}.add". You need to include the
|
||||||
|
path, otherwise the file is placed in the current directory.
|
||||||
*E765*
|
*E765*
|
||||||
It may also be a comma separated list of names. A count before the
|
It may also be a comma separated list of names. A count before the
|
||||||
|zg| and |zw| commands can be used to access each. This allows using
|
|zg| and |zw| commands can be used to access each. This allows using
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
" You can also use this as a start for your own set of menus.
|
" You can also use this as a start for your own set of menus.
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2005 Jul 06
|
" Last Change: 2005 Jul 08
|
||||||
|
|
||||||
" Note that ":an" (short for ":anoremenu") is often used to make a menu work
|
" Note that ":an" (short for ":anoremenu") is often used to make a menu work
|
||||||
" in all modes and avoid side effects from mappings defined by the user.
|
" in all modes and avoid side effects from mappings defined by the user.
|
||||||
@ -571,7 +571,7 @@ while strlen(s:n) > 0
|
|||||||
endif
|
endif
|
||||||
" Ignore case for VMS and windows
|
" Ignore case for VMS and windows
|
||||||
let s:name = substitute(s:name, '\c.*[/\\:\]]\([^/\\:]*\)\.vim', '\1', '')
|
let s:name = substitute(s:name, '\c.*[/\\:\]]\([^/\\:]*\)\.vim', '\1', '')
|
||||||
exe "an 30.440." . s:idx . ' &Tools.se&T\ Compiler.' . s:name . " :compiler " . s:name . "<CR>"
|
exe "an 30.440." . s:idx . ' &Tools.Se&T\ Compiler.' . s:name . " :compiler " . s:name . "<CR>"
|
||||||
unlet s:name
|
unlet s:name
|
||||||
unlet s:i
|
unlet s:i
|
||||||
let s:idx = s:idx + 10
|
let s:idx = s:idx + 10
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*** pl_PL.orig.aff Wed Mar 30 06:50:02 2005
|
*** pl_PL.orig.aff Fri Jul 8 06:50:06 2005
|
||||||
--- pl_PL.aff Sat Jun 18 19:45:45 2005
|
--- pl_PL.aff Fri Jul 8 23:03:48 2005
|
||||||
***************
|
***************
|
||||||
*** 3,4 ****
|
*** 3,4 ****
|
||||||
--- 3,7 ----
|
--- 3,7 ----
|
||||||
@ -8,24 +8,3 @@
|
|||||||
+ LOW 雹车定购患究辈炒刀犯购患骄苦徕沅彐玷殛腱眍镳耱篝貊<E7AF9D><E8B28A><EFBFBD><EFBFBD><EFBFBD>
|
+ LOW 雹车定购患究辈炒刀犯购患骄苦徕沅彐玷殛腱眍镳耱篝貊<E7AF9D><E8B28A><EFBFBD><EFBFBD><EFBFBD>
|
||||||
+ UPP 、%Θ┆<CE98><E29486>辈炒刀犯购患骄坷谅媚牌侨墒颂臀闲岩釉罩刭谯茌捱<E88C8C>
|
+ UPP 、%Θ┆<CE98><E29486>辈炒刀犯购患骄坷谅媚牌侨墒颂臀闲岩釉罩刭谯茌捱<E88C8C>
|
||||||
|
|
||||||
***************
|
|
||||||
*** 6614 ****
|
|
||||||
--- 6617,6634 ----
|
|
||||||
SFX y y ie jmy
|
|
||||||
+
|
|
||||||
+ # REP entries proposed by Mikolaj Machowski:
|
|
||||||
+ REP 14
|
|
||||||
+ REP b p
|
|
||||||
+ REP p b
|
|
||||||
+ REP ¿ rz
|
|
||||||
+ REP rz ¿
|
|
||||||
+ REP w f
|
|
||||||
+ REP f w
|
|
||||||
+ REP ó u
|
|
||||||
+ REP u ó
|
|
||||||
+ REP ci æ
|
|
||||||
+ REP æ ci
|
|
||||||
+ REP si ¶
|
|
||||||
+ REP ¶ si
|
|
||||||
+ REP ni ñ
|
|
||||||
+ REP ñ ni
|
|
||||||
|
@ -2411,6 +2411,10 @@ gui_mch_show_popupmenu(vimmenu_T *menu)
|
|||||||
3U, (guint32)GDK_CURRENT_TIME);
|
3U, (guint32)GDK_CURRENT_TIME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Ugly global variable to pass "mouse_pos" flag from gui_make_popup() to
|
||||||
|
* popup_menu_position_func(). */
|
||||||
|
static int popup_mouse_pos;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Menu position callback; used by gui_make_popup() to place the menu
|
* Menu position callback; used by gui_make_popup() to place the menu
|
||||||
* at the current text cursor position.
|
* at the current text cursor position.
|
||||||
@ -2426,11 +2430,19 @@ popup_menu_position_func(GtkMenu *menu,
|
|||||||
gboolean *push_in,
|
gboolean *push_in,
|
||||||
# endif
|
# endif
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
|
||||||
if (curwin != NULL && gui.drawarea != NULL && gui.drawarea->window != NULL)
|
|
||||||
{
|
{
|
||||||
gdk_window_get_origin(gui.drawarea->window, x, y);
|
gdk_window_get_origin(gui.drawarea->window, x, y);
|
||||||
|
|
||||||
|
if (popup_mouse_pos)
|
||||||
|
{
|
||||||
|
int mx, my;
|
||||||
|
|
||||||
|
gui_mch_getmouse(&mx, &my);
|
||||||
|
*x += mx;
|
||||||
|
*y += my;
|
||||||
|
}
|
||||||
|
else if (curwin != NULL && gui.drawarea != NULL && gui.drawarea->window != NULL)
|
||||||
|
{
|
||||||
/* Find the cursor position in the current window */
|
/* Find the cursor position in the current window */
|
||||||
*x += FILL_X(W_WINCOL(curwin) + curwin->w_wcol + 1) + 1;
|
*x += FILL_X(W_WINCOL(curwin) + curwin->w_wcol + 1) + 1;
|
||||||
*y += FILL_Y(W_WINROW(curwin) + curwin->w_wrow + 1) + 1;
|
*y += FILL_Y(W_WINROW(curwin) + curwin->w_wrow + 1) + 1;
|
||||||
@ -2438,10 +2450,12 @@ popup_menu_position_func(GtkMenu *menu,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gui_make_popup(char_u *path_name)
|
gui_make_popup(char_u *path_name, int mouse_pos)
|
||||||
{
|
{
|
||||||
vimmenu_T *menu;
|
vimmenu_T *menu;
|
||||||
|
|
||||||
|
popup_mouse_pos = mouse_pos;
|
||||||
|
|
||||||
menu = gui_find_menu(path_name);
|
menu = gui_find_menu(path_name);
|
||||||
|
|
||||||
if (menu != NULL && menu->submenu_id != NULL)
|
if (menu != NULL && menu->submenu_id != NULL)
|
||||||
|
@ -2206,7 +2206,7 @@ gui_mch_show_popupmenu(vimmenu_T *menu)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gui_make_popup(char_u *path_name)
|
gui_make_popup(char_u *path_name, int mouse_pos)
|
||||||
{
|
{
|
||||||
vimmenu_T *menu = gui_find_menu(path_name);
|
vimmenu_T *menu = gui_find_menu(path_name);
|
||||||
|
|
||||||
@ -2216,7 +2216,15 @@ gui_make_popup(char_u *path_name)
|
|||||||
|
|
||||||
/* Find the position of the current cursor */
|
/* Find the position of the current cursor */
|
||||||
GetDCOrgEx(s_hdc, &p);
|
GetDCOrgEx(s_hdc, &p);
|
||||||
if (curwin != NULL)
|
if (mouse_pos)
|
||||||
|
{
|
||||||
|
int mx, my;
|
||||||
|
|
||||||
|
gui_mch_getmouse(&mx, &my);
|
||||||
|
p.x += mx;
|
||||||
|
p.y += my;
|
||||||
|
}
|
||||||
|
else if (curwin != NULL)
|
||||||
{
|
{
|
||||||
p.x += TEXT_X(W_WINCOL(curwin) + curwin->w_wcol + 1);
|
p.x += TEXT_X(W_WINCOL(curwin) + curwin->w_wcol + 1);
|
||||||
p.y += TEXT_Y(W_WINROW(curwin) + curwin->w_wrow + 1);
|
p.y += TEXT_Y(W_WINROW(curwin) + curwin->w_wrow + 1);
|
||||||
|
@ -15,7 +15,7 @@ char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *
|
|||||||
char_u *gui_mch_browsedir __ARGS((char_u *title, char_u *initdir));
|
char_u *gui_mch_browsedir __ARGS((char_u *title, char_u *initdir));
|
||||||
int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int def_but, char_u *textfield));
|
int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int def_but, char_u *textfield));
|
||||||
void gui_mch_show_popupmenu __ARGS((vimmenu_T *menu));
|
void gui_mch_show_popupmenu __ARGS((vimmenu_T *menu));
|
||||||
void gui_make_popup __ARGS((char_u *path_name));
|
void gui_make_popup __ARGS((char_u *path_name, int mouse_pos));
|
||||||
void gui_mch_find_dialog __ARGS((exarg_T *eap));
|
void gui_mch_find_dialog __ARGS((exarg_T *eap));
|
||||||
void gui_mch_replace_dialog __ARGS((exarg_T *eap));
|
void gui_mch_replace_dialog __ARGS((exarg_T *eap));
|
||||||
void gui_gtk_synch_fonts __ARGS((void));
|
void gui_gtk_synch_fonts __ARGS((void));
|
||||||
|
@ -36,5 +36,5 @@
|
|||||||
#define VIM_VERSION_NODOT "vim70aa"
|
#define VIM_VERSION_NODOT "vim70aa"
|
||||||
#define VIM_VERSION_SHORT "7.0aa"
|
#define VIM_VERSION_SHORT "7.0aa"
|
||||||
#define VIM_VERSION_MEDIUM "7.0aa ALPHA"
|
#define VIM_VERSION_MEDIUM "7.0aa ALPHA"
|
||||||
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Jul 6)"
|
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Jul 8)"
|
||||||
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Jul 6, compiled "
|
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Jul 8, compiled "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user