mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0063
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 7.0aa. Last change: 2005 Mar 20
|
*todo.txt* For Vim version 7.0aa. Last change: 2005 Mar 22
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -30,6 +30,12 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
|||||||
*known-bugs*
|
*known-bugs*
|
||||||
-------------------- Known bugs and current work -----------------------
|
-------------------- Known bugs and current work -----------------------
|
||||||
|
|
||||||
|
Problem with hang in setmouse() -> update_mouseshape() (Froloff)
|
||||||
|
- check for termcap_active in option.c
|
||||||
|
- add gui.starting in misc2.c
|
||||||
|
|
||||||
|
":e" causes a scroll (in spell.c).
|
||||||
|
|
||||||
Mac unicode patch (Da Woon Jung):
|
Mac unicode patch (Da Woon Jung):
|
||||||
- selecting proportional font breaks display
|
- selecting proportional font breaks display
|
||||||
- UTF-8 text causes display problems. Font replacement causes this.
|
- UTF-8 text causes display problems. Font replacement causes this.
|
||||||
@@ -50,13 +56,17 @@ Awaiting response:
|
|||||||
- Win32: tearoff menu window should have a scrollbar when it's taller than
|
- Win32: tearoff menu window should have a scrollbar when it's taller than
|
||||||
the screen.
|
the screen.
|
||||||
|
|
||||||
|
When on a line with a single character, "A CTRL-O <Home>" puts cursor back
|
||||||
|
after end-of-line. (Peter Winters) Make "o_eol" global and reset it when
|
||||||
|
moving cursor?
|
||||||
|
|
||||||
|
|
||||||
PLANNED FOR VERSION 7.0:
|
PLANNED FOR VERSION 7.0:
|
||||||
|
|
||||||
- Add SPELLCHECKER, with support for many languages.
|
- Add SPELLCHECKER, with support for many languages.
|
||||||
- Use "engspchk" from Charles Campbell for ideas.
|
- Use "engspchk" from Charles Campbell for ideas.
|
||||||
- Only look in @Spell groups or when there isn't such a group.
|
- Alternative: use aspell library.
|
||||||
- Don't use vim_iswordc_buf(), always use the same wordchar.
|
- Implement 's addition.
|
||||||
- Commands required:
|
- Commands required:
|
||||||
add word to private dict: wrong and OK (in popup menu for evim)
|
add word to private dict: wrong and OK (in popup menu for evim)
|
||||||
:spell good <word> zg
|
:spell good <word> zg
|
||||||
@@ -69,8 +79,8 @@ PLANNED FOR VERSION 7.0:
|
|||||||
- Need wordlists for many languages; "language pack"
|
- Need wordlists for many languages; "language pack"
|
||||||
- Use wordlists from openoffice (myspell). Work together with them to
|
- Use wordlists from openoffice (myspell). Work together with them to
|
||||||
update the wordlist. (Adri Verhoef, Aad Nales)
|
update the wordlist. (Adri Verhoef, Aad Nales)
|
||||||
- Support for approximate-regexps will help (agrep
|
- Support for approximate-regexps will help with finding similar words
|
||||||
http://www.tgries.de/agrep/).
|
(agrep http://www.tgries.de/agrep/).
|
||||||
- Charles Campbell asks for method to add "contained" groups to
|
- Charles Campbell asks for method to add "contained" groups to
|
||||||
existing syntax items (to add @Spell).
|
existing syntax items (to add @Spell).
|
||||||
Add ":syntax contains {pattern} add=@Spell" command? A bit like ":syn
|
Add ":syntax contains {pattern} add=@Spell" command? A bit like ":syn
|
||||||
@@ -106,6 +116,7 @@ PLANNED FOR VERSION 7.0:
|
|||||||
Vim-script list.
|
Vim-script list.
|
||||||
- For interpreted languages, use the interpreter to obtain information.
|
- For interpreted languages, use the interpreter to obtain information.
|
||||||
Should work for Java (Eclipse does this), Python, Tcl, etc.
|
Should work for Java (Eclipse does this), Python, Tcl, etc.
|
||||||
|
Richard Emberson mentioned working on an interface to Java.
|
||||||
- Check Readline for its completion interface.
|
- Check Readline for its completion interface.
|
||||||
- Use ctags for other languages. Writing a file could trigger running
|
- Use ctags for other languages. Writing a file could trigger running
|
||||||
ctags, merging the tags of the changed file.
|
ctags, merging the tags of the changed file.
|
||||||
|
@@ -21,9 +21,9 @@
|
|||||||
crea un'immagine esadecimale di un dato file o dello "standard input".
|
crea un'immagine esadecimale di un dato file o dello "standard input".
|
||||||
Può anche ottenere da un'immagine esadecimale il file binario originale.
|
Può anche ottenere da un'immagine esadecimale il file binario originale.
|
||||||
Come
|
Come
|
||||||
.BR uuencode(1)
|
.BR uuencode (1)
|
||||||
e
|
e
|
||||||
.BR uudecode(1)
|
.BR uudecode (1)
|
||||||
permette di trasmettere dati binari in una rapresentazione ASCII "a prova
|
permette di trasmettere dati binari in una rapresentazione ASCII "a prova
|
||||||
di email", ma ha anche il vantaggio di poter decodificare sullo "standard
|
di email", ma ha anche il vantaggio di poter decodificare sullo "standard
|
||||||
output". Inoltre, può essere usato per effettuare delle modifiche (patch)
|
output". Inoltre, può essere usato per effettuare delle modifiche (patch)
|
||||||
@@ -124,21 +124,21 @@ o delle linee vuote possono essere inserite a piacere [e vengono ingorate].
|
|||||||
.TP
|
.TP
|
||||||
.I \-seek distanza
|
.I \-seek distanza
|
||||||
Usato con l'opzione
|
Usato con l'opzione
|
||||||
.I \-r
|
.IR \-r :
|
||||||
: (ricostruzione),
|
(ricostruzione),
|
||||||
.RI < distanza >
|
.RI < distanza >
|
||||||
viene aggiunta alla posizione nel file trovata nella immagine
|
viene aggiunta alla posizione nel file trovata nella immagine
|
||||||
esadecimale.
|
esadecimale.
|
||||||
.TP
|
.TP
|
||||||
.I \-s [\+][\-]seek
|
.I \-s [+][\-]seek
|
||||||
Inizia a
|
Inizia a
|
||||||
.RI < seek >
|
.RI < seek >
|
||||||
bytes assoluti (o relativi) di distanza all'interno di input_file.
|
bytes assoluti (o relativi) di distanza all'interno di input_file.
|
||||||
\fI\+ \fRindica che il "seek" è relativo alla posizione corrente nel file
|
\fI+ \fRindica che il "seek" è relativo alla posizione corrente nel file
|
||||||
"standard input" (non significativa quando non si legge da "standard input").
|
"standard input" (non significativa quando non si legge da "standard input").
|
||||||
\fI\- \fRindica che il "seek" dovrebbe posizionarsi ad quel numero di
|
\fI\- \fRindica che il "seek" dovrebbe posizionarsi ad quel numero di
|
||||||
caratteri dalla fine dell'input (o se in combinazione con
|
caratteri dalla fine dell'input (o se in combinazione con
|
||||||
\fI \+ \fR: prime della posizione corrente nel file "standard input").
|
\fI+ \fR: prime della posizione corrente nel file "standard input").
|
||||||
Se non si specifica una opzione \-s option, xxd inizia alla posizione
|
Se non si specifica una opzione \-s option, xxd inizia alla posizione
|
||||||
corrente all'interno del file.
|
corrente all'interno del file.
|
||||||
.TP
|
.TP
|
||||||
@@ -183,7 +183,7 @@ e
|
|||||||
.PP
|
.PP
|
||||||
.I xxd \-s \+seek
|
.I xxd \-s \+seek
|
||||||
può comportarsi in modo diverso da
|
può comportarsi in modo diverso da
|
||||||
.I xxd \-s seek
|
.IR "xxd \-s seek"
|
||||||
, perché lseek(2) è usata per tornare indietro nel file di input. Il '+'
|
, perché lseek(2) è usata per tornare indietro nel file di input. Il '+'
|
||||||
fa differenza se il file di input è lo "standard input", e se la pozione nel
|
fa differenza se il file di input è lo "standard input", e se la pozione nel
|
||||||
file di "standard input" non è all'inizio del file quando xxd è eseguito,
|
file di "standard input" non è all'inizio del file quando xxd è eseguito,
|
||||||
@@ -202,7 +202,7 @@ si aggiunge a 1k (1024) dove `dd' si era fermato.
|
|||||||
.br
|
.br
|
||||||
\fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +128 > esadecimale' < file
|
\fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +128 > esadecimale' < file
|
||||||
.PP
|
.PP
|
||||||
Immagine esadecimale dalla posizione 0x100 ( = 1024-768 ) del file in avanti.
|
Immagine esadecimale dalla posizione 0x100 ( = 1024\-768 ) del file in avanti.
|
||||||
.br
|
.br
|
||||||
\fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +-768 > esadecimale' < file
|
\fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +-768 > esadecimale' < file
|
||||||
.PP
|
.PP
|
||||||
|
@@ -52,6 +52,7 @@ OBJ = \
|
|||||||
obj/regexp.o \
|
obj/regexp.o \
|
||||||
obj/screen.o \
|
obj/screen.o \
|
||||||
obj/search.o \
|
obj/search.o \
|
||||||
|
obj/spell.o \
|
||||||
obj/syntax.o \
|
obj/syntax.o \
|
||||||
obj/tag.o \
|
obj/tag.o \
|
||||||
obj/term.o \
|
obj/term.o \
|
||||||
|
@@ -38,32 +38,32 @@ rgviewname=${14}
|
|||||||
gvimdiffname=${15}
|
gvimdiffname=${15}
|
||||||
eviewname=${16}
|
eviewname=${16}
|
||||||
|
|
||||||
if test $what = "install"; then
|
if test $what = "install" -a (-e $destdir/$vimname.1 -o -e $destdir/$vimdiffname.1 -o -e $destdir/$eviewname.1); then
|
||||||
if test ! -d $destdir; then
|
if test ! -d $destdir; then
|
||||||
echo creating $destdir
|
echo creating $destdir
|
||||||
./mkinstalldirs $destdir
|
./mkinstalldirs $destdir
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ex
|
# ex
|
||||||
if test ! -e $destdir/$exname.1; then
|
if test ! -e $destdir/$exname.1 -a -e $destdir/$vimname.1; then
|
||||||
echo creating link $destdir/$exname.1
|
echo creating link $destdir/$exname.1
|
||||||
cd $destdir; ln -s $vimname.1 $exname.1
|
cd $destdir; ln -s $vimname.1 $exname.1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# view
|
# view
|
||||||
if test ! -e $destdir/$viewname.1; then
|
if test ! -e $destdir/$viewname.1 -a -e $destdir/$vimname.1; then
|
||||||
echo creating link $destdir/$viewname.1
|
echo creating link $destdir/$viewname.1
|
||||||
cd $destdir; ln -s $vimname.1 $viewname.1
|
cd $destdir; ln -s $vimname.1 $viewname.1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# rvim
|
# rvim
|
||||||
if test ! -e $destdir/$rvimname.1; then
|
if test ! -e $destdir/$rvimname.1 -a -e $destdir/$vimname.1; then
|
||||||
echo creating link $destdir/$rvimname.1
|
echo creating link $destdir/$rvimname.1
|
||||||
cd $destdir; ln -s $vimname.1 $rvimname.1
|
cd $destdir; ln -s $vimname.1 $rvimname.1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# rview
|
# rview
|
||||||
if test ! -e $destdir/$rviewname.1; then
|
if test ! -e $destdir/$rviewname.1 -a -e $destdir/$vimname.1; then
|
||||||
echo creating link $destdir/$rviewname.1
|
echo creating link $destdir/$rviewname.1
|
||||||
cd $destdir; ln -s $vimname.1 $rviewname.1
|
cd $destdir; ln -s $vimname.1 $rviewname.1
|
||||||
fi
|
fi
|
||||||
@@ -71,37 +71,37 @@ if test $what = "install"; then
|
|||||||
# GUI targets are optional
|
# GUI targets are optional
|
||||||
if test "$gui" = "yes"; then
|
if test "$gui" = "yes"; then
|
||||||
# gvim
|
# gvim
|
||||||
if test ! -e $destdir/$gvimname.1; then
|
if test ! -e $destdir/$gvimname.1 -a -e $destdir/$vimname.1; then
|
||||||
echo creating link $destdir/$gvimname.1
|
echo creating link $destdir/$gvimname.1
|
||||||
cd $destdir; ln -s $vimname.1 $gvimname.1
|
cd $destdir; ln -s $vimname.1 $gvimname.1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# gview
|
# gview
|
||||||
if test ! -e $destdir/$gviewname.1; then
|
if test ! -e $destdir/$gviewname.1 -a -e $destdir/$vimname.1; then
|
||||||
echo creating link $destdir/$gviewname.1
|
echo creating link $destdir/$gviewname.1
|
||||||
cd $destdir; ln -s $vimname.1 $gviewname.1
|
cd $destdir; ln -s $vimname.1 $gviewname.1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# rgvim
|
# rgvim
|
||||||
if test ! -e $destdir/$rgvimname.1; then
|
if test ! -e $destdir/$rgvimname.1 -a -e $destdir/$vimname.1; then
|
||||||
echo creating link $destdir/$rgvimname.1
|
echo creating link $destdir/$rgvimname.1
|
||||||
cd $destdir; ln -s $vimname.1 $rgvimname.1
|
cd $destdir; ln -s $vimname.1 $rgvimname.1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# rgview
|
# rgview
|
||||||
if test ! -e $destdir/$rgviewname.1; then
|
if test ! -e $destdir/$rgviewname.1 -a -e $destdir/$vimname.1; then
|
||||||
echo creating link $destdir/$rgviewname.1
|
echo creating link $destdir/$rgviewname.1
|
||||||
cd $destdir; ln -s $vimname.1 $rgviewname.1
|
cd $destdir; ln -s $vimname.1 $rgviewname.1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# gvimdiff
|
# gvimdiff
|
||||||
if test ! -e $destdir/$gvimdiffname.1; then
|
if test ! -e $destdir/$gvimdiffname.1 -a -e $destdir/$vimdiffname.1; then
|
||||||
echo creating link $destdir/$gvimdiffname.1
|
echo creating link $destdir/$gvimdiffname.1
|
||||||
cd $destdir; ln -s $vimdiffname.1 $gvimdiffname.1
|
cd $destdir; ln -s $vimdiffname.1 $gvimdiffname.1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# eview
|
# eview
|
||||||
if test ! -e $destdir/$eviewname.1; then
|
if test ! -e $destdir/$eviewname.1 -a -e $destdir/$evimname.1; then
|
||||||
echo creating link $destdir/$eviewname.1
|
echo creating link $destdir/$eviewname.1
|
||||||
cd $destdir; ln -s $evimname.1 $eviewname.1
|
cd $destdir; ln -s $evimname.1 $eviewname.1
|
||||||
fi
|
fi
|
||||||
|
5
src/ui.c
5
src/ui.c
@@ -153,8 +153,9 @@ ui_inchar(buf, maxlen, wtime, tb_change_cnt)
|
|||||||
static int count = 0;
|
static int count = 0;
|
||||||
|
|
||||||
# ifndef NO_CONSOLE
|
# ifndef NO_CONSOLE
|
||||||
retval = mch_inchar(buf, maxlen, 10L, tb_change_cnt);
|
retval = mch_inchar(buf, maxlen, (wtime >= 0 && wtime < 10)
|
||||||
if (retval > 0 || typebuf_changed(tb_change_cnt))
|
? 10L : wtime, tb_change_cnt);
|
||||||
|
if (retval > 0 || typebuf_changed(tb_change_cnt) || wtime >= 0)
|
||||||
goto theend;
|
goto theend;
|
||||||
# endif
|
# endif
|
||||||
if (wtime == -1 && ++count == 1000)
|
if (wtime == -1 && ++count == 1000)
|
||||||
|
Reference in New Issue
Block a user