comparison runtime/doc/todo.txt @ 56:dbf53ece2e23 v7.0029

updated for version 7.0029
author vimboss
date Mon, 03 Jan 2005 21:06:01 +0000
parents 8c25f10d49e7
children 088a834ca0aa
comparison
equal deleted inserted replaced
55:225cc00b2eda 56:dbf53ece2e23
1 *todo.txt* For Vim version 7.0aa. Last change: 2005 Jan 01 1 *todo.txt* For Vim version 7.0aa. Last change: 2005 Jan 03
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
28 be worked on, but only if you sponsor Vim development. See |sponsor|. 28 be worked on, but only if you sponsor Vim development. See |sponsor|.
29 29
30 *known-bugs* 30 *known-bugs*
31 -------------------- Known bugs and current work ----------------------- 31 -------------------- Known bugs and current work -----------------------
32 32
33 List data type:
34 - ":let list[expr] = expr"
35 - ":let [a, b] = [1, 2]"
36 - ":let [a, b; rest] = [1, 2, 3, 4]"
37 - "for a in list"
38 - "for [a, b] in [[1, 2], [3, 4]]"
39 - == (same value) and "is" (same list)
40 - add many functions:
41 call(func, list) call function
42 keys(list) list of all indexes 0 - len(list)
43 repeat(list, count) return list concatenated count times
44 concat(list1, list2) return list1 and list2 concatenated
45 extend(list1, list2) concatenate list2 to list 1
46 extend(list1, list2, idx) prepend list2 before idx in list1
47 count(list, item) nr of times item appears in list
48 index(list, item) lowest index of item in list
49 pop(list[, idx]) removes item at idx (default: last)
50 pop(list, idx1, idx2) removes items idx1 to idx2, returns them
51 reverse(list) reverses order
52 sort(list[, func]) sort; func compares items
53 getval(list, idx[, default]) get value at idx or default
54 file2lines()
55 file2words()
56
33 patch for QuickFixCmdPre and QuickFixCmdPost autocommands. (Ciaran McCreesh, 57 patch for QuickFixCmdPre and QuickFixCmdPost autocommands. (Ciaran McCreesh,
34 2005 Jan 1) 58 2005 Jan 1)
35 59
36 New toolbar button from Martin Dalecki: 60 New Motif toolbar button from Martin Dalecki:
37 - add remark in version7.txt 61 - add remark in version7.txt
38 - check if it works for pixmap loaded from a file. 62 - check if it works for pixmap loaded from a file.
39 63
40 Awaiting response: 64 Awaiting response:
41 - Patch for mch_FullName() also in Vim 6.3? os_mswin.c 65 - Patch for mch_FullName() also in Vim 6.3? os_mswin.c
58 82
59 - For string variables, use length instead of NUL termination? 83 - For string variables, use length instead of NUL termination?
60 + can include NUL characters 84 + can include NUL characters
61 - setline() will have problems with NL vs NUL. 85 - setline() will have problems with NL vs NUL.
62 Can use list of numbers instead (inefficient though). 86 Can use list of numbers instead (inefficient though).
87 Also: for strings up to 3 bytes don't allocate memory, VAR_STRINGX.
63 - new DATA TYPES: 88 - new DATA TYPES:
64 - None? (or use empty string?) 89 - None? (or use empty string?)
65 - list
66 - dictionary 90 - dictionary
67 - function reference
68 Check old patch from Robert Webb for array support. 91 Check old patch from Robert Webb for array support.
69 Add type checking? See ~/vim/ideas.txt. 92 Add type checking? See ~/vim/ideas.txt.
70 - Add SPELLCHECKER, with easy to add support for many languages. 93 - Add SPELLCHECKER, with easy to add support for many languages.
71 8 Add spell checking. Use "ispell -a" somehow. 94 8 Add spell checking. Use "ispell -a" somehow.
72 ~/vim/patches/wm_vim-5_4d.zip can be used as an example (includes 95 ~/vim/patches/wm_vim-5_4d.zip can be used as an example (includes