Mercurial > vim
comparison runtime/doc/todo.txt @ 80:d2796c60ca6f v7.0032
updated for version 7.0032
author | vimboss |
---|---|
date | Thu, 06 Jan 2005 23:28:25 +0000 |
parents | 0ef9cebc4f5d |
children | d9030055c432 |
comparison
equal
deleted
inserted
replaced
79:e918d3e340a4 | 80:d2796c60ca6f |
---|---|
1 *todo.txt* For Vim version 7.0aa. Last change: 2005 Jan 05 | 1 *todo.txt* For Vim version 7.0aa. Last change: 2005 Jan 06 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
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: | 33 List data type: |
34 - When removing items from the condition stack may free cs_fors. | 34 - add more functions: |
35 - don't copy the list, use a list-watcher to adjust the item pointer when it's | |
36 deleted. | |
37 - "for a in list" | |
38 Make copy of the list to avoid trouble when it changes. As one big block? | |
39 - "for [a, b] in [[1, 2], [3, 4]]" | |
40 - support list generator: items are obtained with a function by index. | |
41 "range(1, 400, 2)" creates one. | |
42 - == (same value) and "is" (same list) | |
43 - add many functions: | |
44 call(func, list) call function | |
45 keys(list) list of all indexes 0 - (len(list) - 1) | |
46 repeat(list, count) return list concatenated count times | |
47 concat(list1, list2) return list1 and list2 concatenated | |
48 extend(list1, list2) concatenate list2 to list 1 | |
49 extend(list1, list2, idx) prepend list2 before idx in list1 | |
50 count(list, item) nr of times item appears in list | |
51 index(list, item) lowest index of item in list | |
52 pop(list[, idx]) removes item at idx (default: last) | |
53 pop(list, idx1, idx2) removes items idx1 to idx2, returns them | |
54 reverse(list) reverses order | 35 reverse(list) reverses order |
55 sort(list[, func]) sort; func compares items | 36 sort(list[, func]) sort; func compares items |
56 getval(list, idx[, default]) get value at idx or default | 37 getval(list, idx[, default]) get value at idx or default |
57 file2lines() | 38 file2lines() |
58 file2words() | 39 file2words() |
59 str2list() parse string to list in several ways: white | 40 str2list() parse string to list in several ways: white |
60 separated, [] form, etc. | 41 separated, [] form, etc. |
61 Fix the error numbers E999 in eval.c. | 42 Fix the error numbers E999 in eval.c. |
62 | 43 - Cache the length of a List? |
63 Function reference: Define a nameless (numbered) function and assign | |
64 it to a Funcref variable. | |
65 :function Myfunc = (arg) | |
66 :endfunc | |
67 | 44 |
68 Use 'ignorecase' for ":vimgrep"? | 45 Use 'ignorecase' for ":vimgrep"? |
46 | |
47 When allocating a new variable, a search is done for an empty entry. May | |
48 waste a lot of time if there isn't one. Keep an index of available entry, | |
49 none available, or unknown. | |
69 | 50 |
70 patch for QuickFixCmdPre and QuickFixCmdPost autocommands. (Ciaran McCreesh, | 51 patch for QuickFixCmdPre and QuickFixCmdPost autocommands. (Ciaran McCreesh, |
71 2005 Jan 1) | 52 2005 Jan 1) |
72 | 53 |
73 New Motif toolbar button from Marcin Dalecki: | 54 New Motif toolbar button from Marcin Dalecki: |
99 Can use list of numbers instead (inefficient though). | 80 Can use list of numbers instead (inefficient though). |
100 Also: for strings up to 3 bytes don't allocate memory, VAR_STRINGX. | 81 Also: for strings up to 3 bytes don't allocate memory, VAR_STRINGX. |
101 - new DATA TYPES: | 82 - new DATA TYPES: |
102 - None? (or use empty string?) | 83 - None? (or use empty string?) |
103 - dictionary | 84 - dictionary |
104 Check old patch from Robert Webb for array support. | |
105 Add type checking? See ~/vim/ideas.txt. | 85 Add type checking? See ~/vim/ideas.txt. |
106 - Add SPELLCHECKER, with easy to add support for many languages. | 86 - Add SPELLCHECKER, with easy to add support for many languages. |
107 8 Add spell checking. Use "ispell -a" somehow. | 87 8 Add spell checking. Use "ispell -a" somehow. |
108 ~/vim/patches/wm_vim-5_4d.zip can be used as an example (includes | 88 ~/vim/patches/wm_vim-5_4d.zip can be used as an example (includes |
109 ispell inside Vim). Gautam Iyer has an example with "aspell". | 89 ispell inside Vim). Gautam Iyer has an example with "aspell". |