-*todo.txt* For Vim version 7.0aa. Last change: 2005 Mar 25
+*todo.txt* For Vim version 7.0aa. Last change: 2005 Mar 28
VIM REFERENCE MANUAL by Bram Moolenaar
*known-bugs*
-------------------- Known bugs and current work -----------------------
-Check that xterm function keys XHOME and ZHOME do work.
-
-Wildcard expansion failure: ":w /tmp/$$.`echo test`" (Adri Verhoef)
-
Mac unicode patch (Da Woon Jung):
- selecting proportional font breaks display
- UTF-8 text causes display problems. Font replacement causes this.
For the "helpfile" item ":helptags" is run.
Win32: Balloon text can't contain line break.
+ Hints for multiline tooltips from Alexei Alexandrov (2005 Mar 26)
+ Patch from Sergey Khorev, 2005 Mar 28
+ Add has("balloon_multiline")
Awaiting response:
- Patch for mch_FullName() also in Vim 6.3? os_mswin.c
like commands.
- "INTELLISENSE". First cleanup the Insert-mode completion.
http://www.vim.org/scripts/script.php?script_id=747
+ www.vim.org script 1213 (Java Development Environment) (Fuchuan Wang)
http://sourceforge.net/projects/insenvim
of http://insenvim.sourceforge.net
http://cedet.sourceforge.net/intellisense.shtml (for Emacs)
-*version7.txt* For Vim version 7.0aa. Last change: 2005 Mar 24
+*version7.txt* For Vim version 7.0aa. Last change: 2005 Mar 28
VIM REFERENCE MANUAL by Bram Moolenaar
|count()| count nr of times a value is in a List or Dictionary
|deepcopy()| make a full copy of a List or Dictionary
|empty()| check if List or Dictionary is empty
-|getqflist()| list of quickfix errors
+|getqflist()| list of quickfix errors (Yegappan Lakshmanan)
|extend()| append one List to another or add items from one
Dictionary to another
|filter()| remove selected items from a List or Dictionary
|remove()| remove one or more items from a List or Dictionary
|repeat()| Repeat "expr" "count" times. (Christophe Poucet)
|reverse()| reverse the order of a List
-|setqflist()| create a quickfix list
+|setqflist()| create a quickfix list (Yegappan Lakshmanan)
|sort()| sort a List
|split()| split a String into a List
|string()| String representation of a List or Dictionary
Sive syntax file. (Nikolai Weibull)
+Moved all the indent settings from the filetype plugin to the indent file.
+Implemented b:undo_indent to undo indent settings when setting 'filetype' to a
+different value.
+
New Keymaps: ~
getwinvar() now also works to obtain a buffer-local option from the specified
window.
+Added the "%s" item to 'errorformat'. (Yegappan Lakshmanan)
+
==============================================================================
COMPILE TIME CHANGES *compile-changes-7*
In Insert mode CTRL-O <Home> didn't move the cursor. Made "ins_at_eol" global
and reset it in nv_home().
+Wildcard expansion failed: ":w /tmp/$$.`echo test`". Don't put quotes around
+spaces inside backticks.
+
vim:tw=78:ts=8:ft=help:norl:
+++ /dev/null
-" Vim filetype plugin
-" Language: BibTeX
-" Maintainer: Dorai Sitaram <ds26@gte.com>
-" URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
-" Last Change: May 21, 2003
-
-" Only do this when not done yet for this buffer
-if exists("b:did_ftplugin")
- finish
-endif
-
-" Don't load another plugin for this buffer
-let b:did_ftplugin = 1
-
-setl cindent
--- /dev/null
+" Vim indent file
+" Language: generic Changelog file
+" Language: C
+" Maintainer: noone
+" Last Change: 2005 Mar 28
+
+" Only load this indent file when no other was loaded.
+if exists("b:did_indent")
+ finish
+endif
+let b:did_indent = 1
+
+setlocal ai
+
+let b:undo_indent = "setl ai<"
endif
let b:did_indent = 1
+setlocal autoindent
setlocal indentexpr=GetIshdIndent(v:lnum)
setlocal indentkeys&
setlocal indentkeys+==else,=elseif,=endif,=end,=begin,<:>
" setlocal indentkeys-=0#
+let b:undo_indent = "setl ai< indentexpr< indentkeys<"
+
" Only define the function once.
if exists("*GetIshdIndent")
finish
" Vim indent file
" Language: Java
" Maintainer: Toby Allsopp <toby.allsopp@peace.com> (resigned)
-" Last Change: 2004 Oct 05
+" Last Change: 2005 Mar 28
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
let b:did_indent = 1
" Indent Java anonymous classes correctly.
-setlocal cinoptions& cinoptions+=j1
+setlocal cindent cinoptions& cinoptions+=j1
" The "extends" and "implements" lines start off with the wrong indent.
setlocal indentkeys& indentkeys+=0=extends indentkeys+=0=implements
" Set the function to do the work.
setlocal indentexpr=GetJavaIndent()
+let b:undo_indent = "set cin< cino< indentkeys< indentexpr<"
+
" Only define the function once.
if exists("*GetJavaIndent")
finish
item = dict_find(d, key, -1);
if (item != NULL)
{
- EMSG(_("E721: Duplicate key in Dictionary"));
+ EMSG2(_("E721: Duplicate key in Dictionary: \"%s\""), key);
clear_tv(&tvkey);
clear_tv(&tv);
goto failret;
}
filtd = 0;
- while (cnt < maxline)
+ while (cnt < maxline || maxline < 0)
{
readlen = fread(buf + filtd, 1, FREAD_SIZE - filtd, fd);
buflen = filtd + readlen;
li->li_tv.vval.v_string = s;
list_append(l, li);
- if (++cnt >= maxline)
+ if (++cnt >= maxline && maxline >= 0)
break;
if (readlen <= 0)
break;
}
}
+ /*
+ * For a negative line count use only the lines at the end of the file,
+ * free the rest.
+ */
+ if (maxline < 0)
+ while (cnt > -maxline)
+ {
+ listitem_remove(l, l->lv_first);
+ --cnt;
+ }
+
vim_free(prev);
fclose(fd);
}