Mirror of the Vim source from https://github.com/vim/vim
Révision | d97518d6b3257b4ab48aace82f9197bd099ff758 (tree) |
---|---|
l'heure | 2005-03-23 08:06:55 |
Auteur | vimboss |
Commiter | vimboss |
updated for version 7.0063
@@ -1,4 +1,4 @@ | ||
1 | -*todo.txt* For Vim version 7.0aa. Last change: 2005 Mar 20 | |
1 | +*todo.txt* For Vim version 7.0aa. Last change: 2005 Mar 22 | |
2 | 2 | |
3 | 3 | |
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -30,6 +30,12 @@ | ||
30 | 30 | *known-bugs* |
31 | 31 | -------------------- Known bugs and current work ----------------------- |
32 | 32 | |
33 | +Problem with hang in setmouse() -> update_mouseshape() (Froloff) | |
34 | + - check for termcap_active in option.c | |
35 | + - add gui.starting in misc2.c | |
36 | + | |
37 | +":e" causes a scroll (in spell.c). | |
38 | + | |
33 | 39 | Mac unicode patch (Da Woon Jung): |
34 | 40 | - selecting proportional font breaks display |
35 | 41 | - UTF-8 text causes display problems. Font replacement causes this. |
@@ -50,13 +56,17 @@ | ||
50 | 56 | - Win32: tearoff menu window should have a scrollbar when it's taller than |
51 | 57 | the screen. |
52 | 58 | |
59 | +When on a line with a single character, "A CTRL-O <Home>" puts cursor back | |
60 | +after end-of-line. (Peter Winters) Make "o_eol" global and reset it when | |
61 | +moving cursor? | |
62 | + | |
53 | 63 | |
54 | 64 | PLANNED FOR VERSION 7.0: |
55 | 65 | |
56 | 66 | - Add SPELLCHECKER, with support for many languages. |
57 | 67 | - Use "engspchk" from Charles Campbell for ideas. |
58 | - - Only look in @Spell groups or when there isn't such a group. | |
59 | - - Don't use vim_iswordc_buf(), always use the same wordchar. | |
68 | + - Alternative: use aspell library. | |
69 | + - Implement 's addition. | |
60 | 70 | - Commands required: |
61 | 71 | add word to private dict: wrong and OK (in popup menu for evim) |
62 | 72 | :spell good <word> zg |
@@ -69,8 +79,8 @@ | ||
69 | 79 | - Need wordlists for many languages; "language pack" |
70 | 80 | - Use wordlists from openoffice (myspell). Work together with them to |
71 | 81 | update the wordlist. (Adri Verhoef, Aad Nales) |
72 | - - Support for approximate-regexps will help (agrep | |
73 | - http://www.tgries.de/agrep/). | |
82 | + - Support for approximate-regexps will help with finding similar words | |
83 | + (agrep http://www.tgries.de/agrep/). | |
74 | 84 | - Charles Campbell asks for method to add "contained" groups to |
75 | 85 | existing syntax items (to add @Spell). |
76 | 86 | Add ":syntax contains {pattern} add=@Spell" command? A bit like ":syn |
@@ -106,6 +116,7 @@ | ||
106 | 116 | Vim-script list. |
107 | 117 | - For interpreted languages, use the interpreter to obtain information. |
108 | 118 | Should work for Java (Eclipse does this), Python, Tcl, etc. |
119 | + Richard Emberson mentioned working on an interface to Java. | |
109 | 120 | - Check Readline for its completion interface. |
110 | 121 | - Use ctags for other languages. Writing a file could trigger running |
111 | 122 | ctags, merging the tags of the changed file. |
@@ -21,9 +21,9 @@ | ||
21 | 21 | crea un'immagine esadecimale di un dato file o dello "standard input". |
22 | 22 | Può anche ottenere da un'immagine esadecimale il file binario originale. |
23 | 23 | Come |
24 | -.BR uuencode(1) | |
24 | +.BR uuencode (1) | |
25 | 25 | e |
26 | -.BR uudecode(1) | |
26 | +.BR uudecode (1) | |
27 | 27 | permette di trasmettere dati binari in una rapresentazione ASCII "a prova |
28 | 28 | di email", ma ha anche il vantaggio di poter decodificare sullo "standard |
29 | 29 | output". Inoltre, può essere usato per effettuare delle modifiche (patch) |
@@ -124,21 +124,21 @@ | ||
124 | 124 | .TP |
125 | 125 | .I \-seek distanza |
126 | 126 | Usato con l'opzione |
127 | -.I \-r | |
128 | -: (ricostruzione), | |
127 | +.IR \-r : | |
128 | +(ricostruzione), | |
129 | 129 | .RI < distanza > |
130 | 130 | viene aggiunta alla posizione nel file trovata nella immagine |
131 | 131 | esadecimale. |
132 | 132 | .TP |
133 | -.I \-s [\+][\-]seek | |
133 | +.I \-s [+][\-]seek | |
134 | 134 | Inizia a |
135 | 135 | .RI < seek > |
136 | 136 | bytes assoluti (o relativi) di distanza all'interno di input_file. |
137 | -\fI\+ \fRindica che il "seek" è relativo alla posizione corrente nel file | |
137 | +\fI+ \fRindica che il "seek" è relativo alla posizione corrente nel file | |
138 | 138 | "standard input" (non significativa quando non si legge da "standard input"). |
139 | 139 | \fI\- \fRindica che il "seek" dovrebbe posizionarsi ad quel numero di |
140 | 140 | caratteri dalla fine dell'input (o se in combinazione con |
141 | -\fI \+ \fR: prime della posizione corrente nel file "standard input"). | |
141 | +\fI+ \fR: prime della posizione corrente nel file "standard input"). | |
142 | 142 | Se non si specifica una opzione \-s option, xxd inizia alla posizione |
143 | 143 | corrente all'interno del file. |
144 | 144 | .TP |
@@ -183,7 +183,7 @@ | ||
183 | 183 | .PP |
184 | 184 | .I xxd \-s \+seek |
185 | 185 | può comportarsi in modo diverso da |
186 | -.I xxd \-s seek | |
186 | +.IR "xxd \-s seek" | |
187 | 187 | , perché lseek(2) è usata per tornare indietro nel file di input. Il '+' |
188 | 188 | fa differenza se il file di input è lo "standard input", e se la pozione nel |
189 | 189 | file di "standard input" non è all'inizio del file quando xxd è eseguito, |
@@ -202,7 +202,7 @@ | ||
202 | 202 | .br |
203 | 203 | \fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +128 > esadecimale' < file |
204 | 204 | .PP |
205 | -Immagine esadecimale dalla posizione 0x100 ( = 1024-768 ) del file in avanti. | |
205 | +Immagine esadecimale dalla posizione 0x100 ( = 1024\-768 ) del file in avanti. | |
206 | 206 | .br |
207 | 207 | \fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +-768 > esadecimale' < file |
208 | 208 | .PP |
@@ -52,6 +52,7 @@ | ||
52 | 52 | obj/regexp.o \ |
53 | 53 | obj/screen.o \ |
54 | 54 | obj/search.o \ |
55 | + obj/spell.o \ | |
55 | 56 | obj/syntax.o \ |
56 | 57 | obj/tag.o \ |
57 | 58 | obj/term.o \ |
@@ -38,32 +38,32 @@ | ||
38 | 38 | gvimdiffname=${15} |
39 | 39 | eviewname=${16} |
40 | 40 | |
41 | -if test $what = "install"; then | |
41 | +if test $what = "install" -a (-e $destdir/$vimname.1 -o -e $destdir/$vimdiffname.1 -o -e $destdir/$eviewname.1); then | |
42 | 42 | if test ! -d $destdir; then |
43 | 43 | echo creating $destdir |
44 | 44 | ./mkinstalldirs $destdir |
45 | 45 | fi |
46 | 46 | |
47 | 47 | # ex |
48 | - if test ! -e $destdir/$exname.1; then | |
48 | + if test ! -e $destdir/$exname.1 -a -e $destdir/$vimname.1; then | |
49 | 49 | echo creating link $destdir/$exname.1 |
50 | 50 | cd $destdir; ln -s $vimname.1 $exname.1 |
51 | 51 | fi |
52 | 52 | |
53 | 53 | # view |
54 | - if test ! -e $destdir/$viewname.1; then | |
54 | + if test ! -e $destdir/$viewname.1 -a -e $destdir/$vimname.1; then | |
55 | 55 | echo creating link $destdir/$viewname.1 |
56 | 56 | cd $destdir; ln -s $vimname.1 $viewname.1 |
57 | 57 | fi |
58 | 58 | |
59 | 59 | # rvim |
60 | - if test ! -e $destdir/$rvimname.1; then | |
60 | + if test ! -e $destdir/$rvimname.1 -a -e $destdir/$vimname.1; then | |
61 | 61 | echo creating link $destdir/$rvimname.1 |
62 | 62 | cd $destdir; ln -s $vimname.1 $rvimname.1 |
63 | 63 | fi |
64 | 64 | |
65 | 65 | # rview |
66 | - if test ! -e $destdir/$rviewname.1; then | |
66 | + if test ! -e $destdir/$rviewname.1 -a -e $destdir/$vimname.1; then | |
67 | 67 | echo creating link $destdir/$rviewname.1 |
68 | 68 | cd $destdir; ln -s $vimname.1 $rviewname.1 |
69 | 69 | fi |
@@ -71,37 +71,37 @@ | ||
71 | 71 | # GUI targets are optional |
72 | 72 | if test "$gui" = "yes"; then |
73 | 73 | # gvim |
74 | - if test ! -e $destdir/$gvimname.1; then | |
74 | + if test ! -e $destdir/$gvimname.1 -a -e $destdir/$vimname.1; then | |
75 | 75 | echo creating link $destdir/$gvimname.1 |
76 | 76 | cd $destdir; ln -s $vimname.1 $gvimname.1 |
77 | 77 | fi |
78 | 78 | |
79 | 79 | # gview |
80 | - if test ! -e $destdir/$gviewname.1; then | |
80 | + if test ! -e $destdir/$gviewname.1 -a -e $destdir/$vimname.1; then | |
81 | 81 | echo creating link $destdir/$gviewname.1 |
82 | 82 | cd $destdir; ln -s $vimname.1 $gviewname.1 |
83 | 83 | fi |
84 | 84 | |
85 | 85 | # rgvim |
86 | - if test ! -e $destdir/$rgvimname.1; then | |
86 | + if test ! -e $destdir/$rgvimname.1 -a -e $destdir/$vimname.1; then | |
87 | 87 | echo creating link $destdir/$rgvimname.1 |
88 | 88 | cd $destdir; ln -s $vimname.1 $rgvimname.1 |
89 | 89 | fi |
90 | 90 | |
91 | 91 | # rgview |
92 | - if test ! -e $destdir/$rgviewname.1; then | |
92 | + if test ! -e $destdir/$rgviewname.1 -a -e $destdir/$vimname.1; then | |
93 | 93 | echo creating link $destdir/$rgviewname.1 |
94 | 94 | cd $destdir; ln -s $vimname.1 $rgviewname.1 |
95 | 95 | fi |
96 | 96 | |
97 | 97 | # gvimdiff |
98 | - if test ! -e $destdir/$gvimdiffname.1; then | |
98 | + if test ! -e $destdir/$gvimdiffname.1 -a -e $destdir/$vimdiffname.1; then | |
99 | 99 | echo creating link $destdir/$gvimdiffname.1 |
100 | 100 | cd $destdir; ln -s $vimdiffname.1 $gvimdiffname.1 |
101 | 101 | fi |
102 | 102 | |
103 | 103 | # eview |
104 | - if test ! -e $destdir/$eviewname.1; then | |
104 | + if test ! -e $destdir/$eviewname.1 -a -e $destdir/$evimname.1; then | |
105 | 105 | echo creating link $destdir/$eviewname.1 |
106 | 106 | cd $destdir; ln -s $evimname.1 $eviewname.1 |
107 | 107 | fi |
@@ -153,8 +153,9 @@ | ||
153 | 153 | static int count = 0; |
154 | 154 | |
155 | 155 | # ifndef NO_CONSOLE |
156 | - retval = mch_inchar(buf, maxlen, 10L, tb_change_cnt); | |
157 | - if (retval > 0 || typebuf_changed(tb_change_cnt)) | |
156 | + retval = mch_inchar(buf, maxlen, (wtime >= 0 && wtime < 10) | |
157 | + ? 10L : wtime, tb_change_cnt); | |
158 | + if (retval > 0 || typebuf_changed(tb_change_cnt) || wtime >= 0) | |
158 | 159 | goto theend; |
159 | 160 | # endif |
160 | 161 | if (wtime == -1 && ++count == 1000) |