1
0
forked from aniani/vim

updated for version 7.0044

This commit is contained in:
Bram Moolenaar 2005-01-25 22:22:02 +00:00
parent 7df2d6629f
commit b71ec9fc70
3 changed files with 28 additions and 26 deletions

View File

@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.0aa. Last change: 2005 Jan 21 *todo.txt* For Vim version 7.0aa. Last change: 2005 Jan 25
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -30,16 +30,21 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs* *known-bugs*
-------------------- Known bugs and current work ----------------------- -------------------- Known bugs and current work -----------------------
Dict member: use dict..foo instead of dict.foo to avoid confusion with string Searching backwards with \zs gets stuck. (Brett Stahlman, Jan 23)
concatenation?
Hashtable implementation: netrw plugin: "i" remembers last action but not per window.
- Use hashtable for syntax keywords.
List data type performance:
- Cache the length of a List?
- Cache the last used index?
- Use blocks of items, so that finding an item by index is faster?
Can ":grep" made faster somehow? Do profiling. Can ":grep" made faster somehow? Do profiling.
":vimgrep pat %" doesn't work.
Sanity check of eval.c: Sanity check of eval.c:
- Go through the code for magic braces. - Go through the code for magic braces.
- Check use of v_type for VAR_FUNC, VAR_LIST ad VAR_DICT.
Mention Rsync command on runtime.php page: Mention Rsync command on runtime.php page:
rsync -avzcP --delete --exclude="dos" --delete-excluded ftp.nluug.nl::Vim/runtime/ vim63-runtime rsync -avzcP --delete --exclude="dos" --delete-excluded ftp.nluug.nl::Vim/runtime/ vim63-runtime
@ -51,18 +56,18 @@ netrw plugin:
Better way to get temp file for tcltags and vimspell scripts. (javier Pena) Better way to get temp file for tcltags and vimspell scripts. (javier Pena)
Possibly leave out code for temp directory. Possibly leave out code for temp directory.
When allocating a new variable, a search is done for an empty entry. May
waste a lot of time if there isn't one. Keep an index of available entry,
none available, or unknown.
patch for QuickFixCmdPre and QuickFixCmdPost autocommands. (Ciaran McCreesh, patch for QuickFixCmdPre and QuickFixCmdPost autocommands. (Ciaran McCreesh,
2005 Jan 1) 2005 Jan 1)
When 'nowrap' is set and selecting text with the mouse, moving the mouse right
of the text area doesn't cause a horizontal scroll. (Dave Ewart)
New Motif toolbar button from Marcin Dalecki: New Motif toolbar button from Marcin Dalecki:
- add remark in version7.txt - add remark in version7.txt
- check if it works for pixmap loaded from a file. - check if it works for pixmap loaded from a file.
Explain Lists, Dicts, |:for| etc. in the user manual |usr_41.txt|. Explain Lists, Dicts, |:for| etc. in the user manual |usr_41.txt|.
Add more tests for all List and Dict related functionality.
Awaiting response: Awaiting response:
- Patch for mch_FullName() also in Vim 6.3? os_mswin.c - Patch for mch_FullName() also in Vim 6.3? os_mswin.c
@ -257,14 +262,6 @@ Add gui_mch_browsedir() for Motif, KDE and Mac OS/X.
HTML indenting can be slow, find out why. Any way to do some kind of HTML indenting can be slow, find out why. Any way to do some kind of
profiling for Vim script? profiling for Vim script?
List data type performance:
- Cache the length of a List?
- Cache the last used index?
- Use blocks of items, so that finding an item by index is faster?
Dictionary data type performance:
- Use a hash to locate items
Updated Ruby interface. (Ryan Paul) Updated Ruby interface. (Ryan Paul)
Awaiting updated patches: Awaiting updated patches:
@ -1409,9 +1406,6 @@ Syntax highlighting:
8 Make conversion to HTML faster (Write it in C or pre-compile the script). 8 Make conversion to HTML faster (Write it in C or pre-compile the script).
9 There is still a redraw bug somewhere. Probably because a cached state is 9 There is still a redraw bug somewhere. Probably because a cached state is
used in a wrong way. I can't reproduce it... used in a wrong way. I can't reproduce it...
7 Make syntax keyword table configurable. Set number of bits used with
":syn clear [hashbits]", so that we don't need to reallocate the table.
minimal 4 bits, maximal 16. (Campbell)
7 Be able to change only the background highlighting. Useful for Diff* and 7 Be able to change only the background highlighting. Useful for Diff* and
Search highlighting. Search highlighting.
8 Allow the user to add items to the Syntax menu sorted, without having to 8 Allow the user to add items to the Syntax menu sorted, without having to
@ -1421,9 +1415,6 @@ Syntax highlighting:
8 Add a "keepend-contained" argument: Don't change the end of an item this 8 Add a "keepend-contained" argument: Don't change the end of an item this
one is contained in. Like "keepend" but specified on the contained item, one is contained in. Like "keepend" but specified on the contained item,
instead of the containing item. instead of the containing item.
8 For keywords, allow to define the size of the hash table with ":syn
clear". Change KHASH_ defines into variables stored in buffer struct.
Use something else than linear linked list from the hash table. (Campbell)
8 cpp.vim: In C++ it's allowed to use {} inside (). 8 cpp.vim: In C++ it's allowed to use {} inside ().
8 Some syntax files set 'iskeyword'. When switching to another filetype 8 Some syntax files set 'iskeyword'. When switching to another filetype
this isn't reset. Add a special keyword definition for the syntax rules? this isn't reset. Add a special keyword definition for the syntax rules?

View File

@ -1,4 +1,4 @@
*version7.txt* For Vim version 7.0aa. Last change: 2005 Jan 20 *version7.txt* For Vim version 7.0aa. Last change: 2005 Jan 25
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -426,6 +426,9 @@ invalid characters after the register name.
":let w:" lists window-local variables. ":let w:" lists window-local variables.
":let v:" lists Vim variables. ":let v:" lists Vim variables.
The stridx() funcion takes a third argument, where to start searching.
(Yegappan Lakshmanan)
============================================================================== ==============================================================================
COMPILE TIME CHANGES *compile-changes-7* COMPILE TIME CHANGES *compile-changes-7*
@ -700,4 +703,9 @@ Completion for ":next a'<Tab>" put a backslash before single quote, but it was
not removed when editing a file. Now halve backslashes in save_patterns(). not removed when editing a file. Now halve backslashes in save_patterns().
Also fix expanding a file name with the shell that contains "\'". Also fix expanding a file name with the shell that contains "\'".
When doing "1,6d|put" only "fewer lines" was reported. Now a following "more
lines" overwrites the message.
Configure could not handle "-Dfoo=long\ long" in the TCL config output.
vim:tw=78:ts=8:ft=help:norl: vim:tw=78:ts=8:ft=help:norl:

View File

@ -2969,7 +2969,9 @@ gui_mch_init(void)
gui.border_width = 2; gui.border_width = 2;
gui.scrollbar_width = SB_DEFAULT_WIDTH; gui.scrollbar_width = SB_DEFAULT_WIDTH;
gui.scrollbar_height = SB_DEFAULT_WIDTH; gui.scrollbar_height = SB_DEFAULT_WIDTH;
/* LINTED: avoid warning: conversion to 'unsigned long' */
gui.fgcolor = g_new0(GdkColor, 1); gui.fgcolor = g_new0(GdkColor, 1);
/* LINTED: avoid warning: conversion to 'unsigned long' */
gui.bgcolor = g_new0(GdkColor, 1); gui.bgcolor = g_new0(GdkColor, 1);
/* Initialise atoms */ /* Initialise atoms */
@ -4078,6 +4080,7 @@ gui_mch_adjust_charsize(void)
gui.char_height = (ascent + descent + PANGO_SCALE - 1) / PANGO_SCALE gui.char_height = (ascent + descent + PANGO_SCALE - 1) / PANGO_SCALE
+ p_linespace; + p_linespace;
/* LINTED: avoid warning: bitwise operation on signed value */
gui.char_ascent = PANGO_PIXELS(ascent + p_linespace * PANGO_SCALE / 2); gui.char_ascent = PANGO_PIXELS(ascent + p_linespace * PANGO_SCALE / 2);
#else /* !HAVE_GTK2 */ #else /* !HAVE_GTK2 */
@ -6350,9 +6353,9 @@ mch_set_mouse_shape(int shape)
id = mshape_ids[shape]; id = mshape_ids[shape];
# ifdef HAVE_GTK_MULTIHEAD # ifdef HAVE_GTK_MULTIHEAD
c = gdk_cursor_new_for_display( c = gdk_cursor_new_for_display(
gtk_widget_get_display(gui.drawarea), id); gtk_widget_get_display(gui.drawarea), (GdkCursorType)id);
# else # else
c = gdk_cursor_new(id); c = gdk_cursor_new((GdkCursorType)id);
# endif # endif
gdk_window_set_cursor(gui.drawarea->window, c); gdk_window_set_cursor(gui.drawarea->window, c);
gdk_cursor_destroy(c); /* Unref, actually. Bloody GTK+ 1. */ gdk_cursor_destroy(c); /* Unref, actually. Bloody GTK+ 1. */