mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.0145
This commit is contained in:
parent
578b49e4f7
commit
dcca87b394
@ -1,7 +1,7 @@
|
|||||||
" Vim completion script
|
" Vim completion script
|
||||||
" Language: C
|
" Language: C
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2005 Sep 09
|
" Last Change: 2005 Sep 10
|
||||||
|
|
||||||
|
|
||||||
" This function is used for the 'occultfunc' option.
|
" This function is used for the 'occultfunc' option.
|
||||||
@ -144,7 +144,7 @@ function! ccomplete#StructMembers(typename, items)
|
|||||||
let typename = a:typename
|
let typename = a:typename
|
||||||
let qflist = []
|
let qflist = []
|
||||||
while 1
|
while 1
|
||||||
exe 'silent! vimgrep /\t' . typename . '\>/j ' . fnames
|
exe 'silent! vimgrep /\t' . typename . '\(\t\|$\)/j ' . fnames
|
||||||
let qflist = getqflist()
|
let qflist = getqflist()
|
||||||
if len(qflist) > 0 || match(typename, "::") < 0
|
if len(qflist) > 0 || match(typename, "::") < 0
|
||||||
break
|
break
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 7.0aa. Last change: 2005 Sep 09
|
*todo.txt* For Vim version 7.0aa. Last change: 2005 Sep 10
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -31,9 +31,10 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
|||||||
-------------------- Known bugs and current work -----------------------
|
-------------------- Known bugs and current work -----------------------
|
||||||
|
|
||||||
ccomplete:
|
ccomplete:
|
||||||
- Publish patch for ctags to add typedecl field.
|
|
||||||
nameless struct/union doesn't work (TT_MODE in os_vms.c)
|
|
||||||
- When a typedef or struct is local to a file only use it in that file?
|
- When a typedef or struct is local to a file only use it in that file?
|
||||||
|
- How to use a popup menu?
|
||||||
|
- when a struct reference is already complete and CTRL-X CTRL-O is used, add a
|
||||||
|
"." or "->"?
|
||||||
|
|
||||||
Mac unicode patch (Da Woon Jung):
|
Mac unicode patch (Da Woon Jung):
|
||||||
- selecting proportional font breaks display
|
- selecting proportional font breaks display
|
||||||
@ -81,21 +82,8 @@ PLANNED FOR VERSION 7.0:
|
|||||||
Completion logic:
|
Completion logic:
|
||||||
Use runtime/autoload/{filetype}complete.vim files.
|
Use runtime/autoload/{filetype}complete.vim files.
|
||||||
|
|
||||||
For a simple name can complete like with CTRL-N.
|
|
||||||
get list of IDs from the tagfile?
|
|
||||||
For struct or class add "." or "->"?
|
|
||||||
|
|
||||||
After a reference to a struct or class suggest members.
|
|
||||||
Recognizing "var.mem" and 'var->mem" is easy.
|
|
||||||
How to get the type of "var"?
|
|
||||||
tags file doesn't give type of typedef! E.g., oparg_T is
|
|
||||||
listed with "^} oparg_T;$"
|
|
||||||
mlcscope may do it, but it's not very portable.
|
|
||||||
http://www.exptools.com/cscope
|
|
||||||
How to get the members of that type?
|
|
||||||
tags file has struct: and class: fields
|
|
||||||
|
|
||||||
In function arguments suggest variables of expected type.
|
In function arguments suggest variables of expected type.
|
||||||
|
Tags file has "signature" field.
|
||||||
|
|
||||||
List of completions is a Dictionary with items:
|
List of completions is a Dictionary with items:
|
||||||
complist[0]['text'] = completion text
|
complist[0]['text'] = completion text
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*version7.txt* For Vim version 7.0aa. Last change: 2005 Sep 07
|
*version7.txt* For Vim version 7.0aa. Last change: 2005 Sep 10
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -434,6 +434,7 @@ New functions: ~
|
|||||||
|getftype()| get type of file (Nikolai Weibull)
|
|getftype()| get type of file (Nikolai Weibull)
|
||||||
|getline()| with second argument: get List with buffer lines
|
|getline()| with second argument: get List with buffer lines
|
||||||
|has_key()| check whether a key appears in a Dictionary
|
|has_key()| check whether a key appears in a Dictionary
|
||||||
|
|inputlist()| select an entry from a list
|
||||||
|insert()| insert an item somewhere in a List
|
|insert()| insert an item somewhere in a List
|
||||||
|items()| get List of Dictionary key-value pairs
|
|items()| get List of Dictionary key-value pairs
|
||||||
|join()| join List items into a String
|
|join()| join List items into a String
|
||||||
@ -786,6 +787,9 @@ COLORFGBG environment variable. (Ciaran McCreesh)
|
|||||||
|
|
||||||
Also support t_SI and t_EI on Unix with normal features. (Ciaran McCreesh)
|
Also support t_SI and t_EI on Unix with normal features. (Ciaran McCreesh)
|
||||||
|
|
||||||
|
When 'foldcolumn' is one then put as much info in it as possible. This allows
|
||||||
|
closing a fold with the mouse by clicking on the '-'.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
COMPILE TIME CHANGES *compile-changes-7*
|
COMPILE TIME CHANGES *compile-changes-7*
|
||||||
|
|
||||||
@ -1332,4 +1336,7 @@ would be opened with these lines above the first window line.
|
|||||||
When using a command line window for search strings ":qa" would result in
|
When using a command line window for search strings ":qa" would result in
|
||||||
searching for "qa" instead of quitting all windows.
|
searching for "qa" instead of quitting all windows.
|
||||||
|
|
||||||
|
GUI: When scrolling with the scrollbar and there is a line that doesn't fit
|
||||||
|
redrawing may fail. Make sure w_skipcol is valid before redrawing.
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:ft=help:norl:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user