blob: e5746fe54c83043225123847406472ad1fcc5c94 [file] [log] [blame]
Bram Moolenaar1cd871b2004-12-19 22:46:22 +00001*version7.txt* For Vim version 7.0aa. Last change: 2004 Dec 19
Bram Moolenaar071d4272004-06-13 20:20:40 +00002
3
4 VIM REFERENCE MANUAL by Bram Moolenaar
5
6
7Welcome to Vim 7! A large number of features has been added. This file
8mentions all the new items, changes to existing features and bug fixes
9compared to Vim 6.x.
10
11See |vi_diff.txt| for an overview of differences between Vi and Vim 7.0.
12See |version4.txt| for differences between Vim 3.x and Vim 4.x.
13See |version5.txt| for differences between Vim 4.x and Vim 5.x.
14See |version6.txt| for differences between Vim 5.x and Vim 6.x.
15
16INCOMPATIBLE CHANGES |incompatible-7|
17
18NEW FEATURES |new-7|
19
20New data types |new-data-types|
Bram Moolenaar325b7a22004-07-05 15:58:32 +000021KDE support |new-KDE|
Bram Moolenaar293ee4d2004-12-09 21:34:53 +000022Translated manual pages |new-manpage-trans|
Bram Moolenaar071d4272004-06-13 20:20:40 +000023Various new items |new-items-7|
24
25IMPROVEMENTS |improvements-7|
26
27COMPILE TIME CHANGES |compile-changes-7|
28
29BUG FIXES |bug-fixes-7|
30
31==============================================================================
32INCOMPATIBLE CHANGES *incompatible-7*
33
34These changes are incompatible with previous releases. Check this list if you
35run into a problem when upgrading from Vim 6.x to 7.0
36
Bram Moolenaarf4b8e572004-06-24 15:53:16 +000037":helpgrep" now uses a help window to display a match.
38
Bram Moolenaar1cd871b2004-12-19 22:46:22 +000039In an argument list double quotes could be used to include spaces in a file
40name. This caused a difference between ":edit" and ":next" for escaping
41double quotes and it is incompatible with some versions of Vi.
42 Command Vim 6.x file name Vim 7.x file name ~
43 :edit foo\"888 'foo"888' 'foo"888'
44 :next foo\"888 'foo888' 'foo"888'
45 :next a\"b c\"d 'ab cd' 'a"b' and 'c"d'
46
47A ":write file" command no longer resets the 'modified' flag of the buffer,
48unless the '+' flag is in 'cpoptions' |cpo-+|. This was illogical, since the
49buffer is still modified compared to the original file. And when undoing
50all changes the file would actually be marked modified. It does mean that
51":quit" fails now.
52
Bram Moolenaarf4b8e572004-06-24 15:53:16 +000053
54Minor incompatibilities:
55
56For filetype detection: For many types, instead of ~/.dir/filename use
57*/.dir/filename, so that it also works for other user's files.
58
59":0verbose" now sets 'verbose' to zero instead of one.
60
61Removed the old and incomplete "VimBuddy" code.
62
63Buffers without a name report "No Name" instead of "No File". It was
64confusing for buffers with a name and 'buftype' set to "nofile".
Bram Moolenaar071d4272004-06-13 20:20:40 +000065
Bram Moolenaar7b0294c2004-10-11 10:16:09 +000066When ":file xxx" is used in a buffer without a name, the alternate file name
67isn't set. This avoids creating buffers without a name that are not useful.
68
69The "2html.vim" script now converts closed folds to HTML. This means the HTML
70looks like its displayed, with the same folds open and closed. Use "zR" if no
71folds should appear in the HTML. (partly by Carl Osterwisch)
Bram Moolenaar47136d72004-10-12 20:02:24 +000072Diff mode now is also converted as it is displayed.
Bram Moolenaar7b0294c2004-10-11 10:16:09 +000073
Bram Moolenaar293ee4d2004-12-09 21:34:53 +000074Win32: The effect of the <F10> key depended on 'winaltkeys'. Now it depends
75on whether <F10> has been mapped or not. This allows mapping <F10> without
76changing 'winaltkeys'.
77
Bram Moolenaar1cd871b2004-12-19 22:46:22 +000078When using CTRL-A on "08" it became "018", which is illogical. Now it becomes
79"9". The leading zero(s) is(are) removed to avoid the number becoming octal
80after incrementing "009" to "010".
81
82When 'encoding' is set to a Unicode encoding, the value for 'fileencodings'
83now includes "default" before "latin1". This means that for files with 8-bit
84encodings the default is to use the encoding specified by the environment, if
85possible. Previously latin1 would always be used, which is wrong in a
86non-latin1 environment, such as Russian.
87
Bram Moolenaar071d4272004-06-13 20:20:40 +000088==============================================================================
89NEW FEATURES *new-7*
90
91New data types *new-data-types*
92--------------
93
94In Vim scripts the following types have been added:
95
96 list ordered list of items
97 dictionary associative array of items
98 function reference to a function
99
100Many functions and commands have been added to support the new types.
101
Bram Moolenaar843ee412004-06-30 16:16:41 +0000102NOT IMPLEMENTED YET!
103
104
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000105KDE support *new-KDE*
Bram Moolenaar843ee412004-06-30 16:16:41 +0000106-----------
107
108Kvim is the KDE version of Vim. It uses the Qt toolkit. See |KVim|.
109(Thomas Capricelli, Philippe Fremy, Mickael Marchand, Mark Westcott, et al.)
110
Bram Moolenaar071d4272004-06-13 20:20:40 +0000111
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000112MzScheme interface *new-MzScheme*
113------------------
114
115The MzScheme interpreter is supported. |MzScheme|
116The |:mzscheme| command can be used to execute MzScheme commands.
117The |:mzfile| command can be used to execute an MzScheme script file.
118
Bram Moolenaar8299df92004-07-10 09:47:34 +0000119Printing multi-byte text *new-print-multi-byte*
120------------------
121
122The |:hardcopy| command now supports printing multi-byte characters.
123The 'printmbcharset' and 'printmbfont' options are used for this.
124Also see |postscript-cjk-printing|. (Mike Williams)
125
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000126
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000127Translated manual pages *new-manpage-trans*
128-----------------------
129
130The manual page of Vim and associated programs is now also available in
131Italian (translated by Antonio Colombo). More languages will follow.
132
133
Bram Moolenaar071d4272004-06-13 20:20:40 +0000134Various new items *new-items-7*
135-----------------
136
137Normal mode commands: ~
138
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +0000139a", a' and a` New text objects to select quoted strings. |a'|
140i", i' and i' (Taro Muraoka)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000141
142Options: ~
143
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +0000144'completefunc' The name of a function used for user-specified Insert
145 mode completion. CTRL-X CTRL-U can be used in Insert
146 mode to do any kind of completion. (Taro Muraoka)
147'quoteescape' Characters used to escape quotes inside a string.
148 Used for the a", a' and a` text objects. |a'|
Bram Moolenaar592e0a22004-07-03 16:05:59 +0000149'numberwidth' Minimal width of the space used for the 'number'
150 option. (Emmanuel Renieris)
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000151'mzquantum' Time in msec to schedule MzScheme threads.
Bram Moolenaar8299df92004-07-10 09:47:34 +0000152'printmbcharset' CJK character set to be used for :hardcopy
153'printmbfont' font names to be used for CJK output of :hardcopy
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000154'fsync' Whether fsync() is called after writing a file.
155 (Ciaran McCreesh)
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000156
Bram Moolenaar071d4272004-06-13 20:20:40 +0000157
158Ex commands: ~
159
Bram Moolenaar843ee412004-06-30 16:16:41 +0000160Win32: The ":winpos" command now also works in the console. (Vipin Aravind)
161
Bram Moolenaar8299df92004-07-10 09:47:34 +0000162|:startreplace| Start Replace mode. (Charles Campbell)
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000163
Bram Moolenaar8299df92004-07-10 09:47:34 +0000164|:0file| Removes the name of the buffer. (Charles Campbell)
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000165
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +0000166|:diffoff| Switch off diff mode in the current window or in all
167 windows.
168
Bram Moolenaard4755bb2004-09-02 19:12:26 +0000169|:keepalt| Do not change the alternate file.
170
Bram Moolenaarc0197e22004-09-13 20:26:32 +0000171|:delmarks| Delete marks.
172
Bram Moolenaar7b0294c2004-10-11 10:16:09 +0000173|:sandbox| Command modifier: execute the argument in the sandbox.
174
Bram Moolenaar071d4272004-06-13 20:20:40 +0000175
176New functions: ~
177
Bram Moolenaar7b0294c2004-10-11 10:16:09 +0000178browsedir(title, init) |browsedir()| Dialog to select a directory.
Bram Moolenaar89cb5e02004-07-19 20:55:54 +0000179byteidx(expr, nr) |byteidx()| Index of a character. (Ilya Sher)
180finddir(name) |finddir()| Find a directory in 'path'.
181findfile(name) |findfile()| Find a file in 'path'. (Johannes
182 Zellner)
Bram Moolenaar7b0294c2004-10-11 10:16:09 +0000183foldtextresult(lnum) |foldtextresult()| The text displayed for a closed
184 fold at line "lnum".
Bram Moolenaar5eb86f92004-07-26 12:53:41 +0000185getfperm(fname) |getfperm()| Get file permission string. (Nikolai
186 Weibull)
187getftype(fname) |getftype()| Get type of file. (Nikolai Weibull)
Bram Moolenaarab79bcb2004-07-18 21:34:53 +0000188repeat(expr, count) |repeat()| Repeat "expr" "count" times.
189 (Christophe Poucet)
190tr(expr, from, to) |tr()| Translate characters. (Ron Aaron)
Bram Moolenaarc0197e22004-09-13 20:26:32 +0000191system(cmd, input) |system()| Filters {input} through a shell
192 command.
Bram Moolenaar46c9c732004-12-12 11:37:09 +0000193getfontname([name]) |getfontname()| Get actual font name being used.
Bram Moolenaar8299df92004-07-10 09:47:34 +0000194
Bram Moolenaar071d4272004-06-13 20:20:40 +0000195
196New autocommand events: ~
197
Bram Moolenaar8299df92004-07-10 09:47:34 +0000198|InsertEnter| starting Insert or Replace mode
199|InsertChange| going from Insert to Replace mode or back
200|InsertLeave| leaving Insert or Replace mode
Bram Moolenaar843ee412004-06-30 16:16:41 +0000201
Bram Moolenaar8299df92004-07-10 09:47:34 +0000202|ColorScheme| after loading a color scheme
Bram Moolenaar071d4272004-06-13 20:20:40 +0000203
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +0000204
Bram Moolenaarc0197e22004-09-13 20:26:32 +0000205New items in search patterns: ~
206|/\%d| \%d123 search for character with decimal number
207|/\]| [\d123] idem, in a colletion
208|/\%o| \%o103 search for character with octal number
209|/\]| [\o1o3] idem, in a colletion
210|/\%x| \%x1a search for character with 2 pos. hex number
211|/\]| [\x1a] idem, in a colletion
212|/\%u| \%u12ab search for character with 4 pos. hex number
213|/\]| [\u12ab] idem, in a colletion
214|/\%U| \%U1234abcd search for character with 8 pos. hex number
215|/\]| [\U1234abcd] idem, in a colletion
216 (The above partly by Ciaran McCreesh)
217
218
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +0000219New Syntax/Indent/FTplugin files: ~
220
221MuPAD source syntax, indent and ftplugin. (Dave Silvia)
222
Bram Moolenaard4755bb2004-09-02 19:12:26 +0000223ABAB/4 syntax file. (Marius van Wyk)
224
225SQL-Informix syntax file. (Dean L Hill)
226
Bram Moolenaar15d0a8c2004-09-06 17:44:46 +0000227PHP compiler plugin. (Doug Kearns)
228
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000229Sive syntax file. (Nikolai Weibull)
230
Bram Moolenaar15d0a8c2004-09-06 17:44:46 +0000231
Bram Moolenaar47136d72004-10-12 20:02:24 +0000232New Keymaps: ~
233
234Sinhala (Sri Lanka) (Harshula Jayasuriya)
235
236
Bram Moolenaar15d0a8c2004-09-06 17:44:46 +0000237New message translations: ~
238
239The Ukranian messages are now also available in cp1251.
240
Bram Moolenaar071d4272004-06-13 20:20:40 +0000241
Bram Moolenaarf4b8e572004-06-24 15:53:16 +0000242Others: ~
243
244Mac: Add the selection type to the clipboard, so that Block, line and
245character selections can be used between two Vims. (Eckehard Berns)
246Also fixes the problem that setting 'clipboard' to "unnamed" breaks using
247"yyp".
Bram Moolenaar071d4272004-06-13 20:20:40 +0000248
Bram Moolenaar592e0a22004-07-03 16:05:59 +0000249Mac: GUI font selector. (Peter "Rain Dog" Cucka)
250
Bram Moolenaar46c9c732004-12-12 11:37:09 +0000251Mac: better integration with Xcode. Post a fake mouse-up event after the odoc
252event and the drag receive handler to work around a stall after Vim loads a
253file. Fixed an off-by-one line number error. (Da Woon Jung)
254
Bram Moolenaar843ee412004-06-30 16:16:41 +0000255The netrw plugin now also supports viewing a directory, when "scp://" is used.
256Deleting and renaming files is possible. (Charles Campbell)
257
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000258Added the t_SI and t_EI escape sequences for starting and ending Insert mode.
259To be used to set the cursor shape to a bar or a block. No default values,
260they are not supported by termcap/terminfo.
261
Bram Moolenaar071d4272004-06-13 20:20:40 +0000262==============================================================================
263IMPROVEMENTS *improvements-7*
264
Bram Moolenaarf4b8e572004-06-24 15:53:16 +0000265":helpgrep" accepts a language specifier after the pattern: "pat@it".
266
Bram Moolenaar8299df92004-07-10 09:47:34 +0000267Move the help for printing to a separate help file. It's quite a lot now.
268
Bram Moolenaarf4b8e572004-06-24 15:53:16 +0000269":breakadd here" and ":breakdel here" can be used to set or delete a
270breakpoint at the cursor.
271
Bram Moolenaar843ee412004-06-30 16:16:41 +0000272The tutor was updated to make it simpler to use and added text to explain a
273few more important commands. Used ideas from Gabriel Zachmann.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000274
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +0000275Unix: When libcall() fails obtain an error message with dlerror() and display
276it. (Johannes Zellner)
277
Bram Moolenaar592e0a22004-07-03 16:05:59 +0000278Added "nbsp" in 'listchars'. (David Blanchet)
279
Bram Moolenaar21cf8232004-07-16 20:18:37 +0000280Added the "acwrite" value for the 'buftype' option. This is for a buffer that
281doesn not have a name that refers to a file and is written with BufWriteCmd
282autocommands.
283
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000284For lisp indenting and matching parenthesis: (Sergey Khorev)
285- square brackets are recognized properly
286- #\(, #\), #\[ and #\] are recognized as character literals
287- Lisp line comments (delimited by semicolon) are recognized
288
Bram Moolenaar89cb5e02004-07-19 20:55:54 +0000289Added the "count" argument to match(), matchend() and matchstr(). (Ilya Sher)
290
Bram Moolenaar5eb86f92004-07-26 12:53:41 +0000291winnr() takes an optional "$" and "#" arguments. (Nikolai Weibull, Yegappan
292Lakshmanan)
293
294Added 'n' flag to search(): don't move the cursor. (Nikolai Weibull)
295
Bram Moolenaard4755bb2004-09-02 19:12:26 +0000296When uncompressing fails in the gzip plugin, give an error message but don't
297delete the raw text. Helps if the file has a .gz extension but is not
298actually compressed. (Andrew Pimlott)
299
300When C, C++ or IDL syntax is used, may additionally load doxygen syntax.
301Also support setting the filetype to "cdoxygen" for C plus doxygen syntax.
302(Michael Geddes)
303
304The ":registers" command now displays multi-byte characters properly.
305
306VMS: In the usage message mention that a slash can be used to make a flag
307upper case. Add color support to the builtin vt320 terminal codes.
308(Zoltan Arpadffy)
309
Bram Moolenaar15d0a8c2004-09-06 17:44:46 +0000310For the '%' item in 'viminfo', allow a number to set a maximum for the number
311of buffers.
312
Bram Moolenaar3fdfa4a2004-10-07 21:02:47 +0000313When a file looks like a shell script, check for an "exec" command that starts
314the tcl interpreter. (suggested by Alexios Zavras)
315
316Support conversion between utf-8 and latin9 (iso-8859-15) internally, so that
317digraphs still work when iconv is not available.
318
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000319When a session file is loaded while editing an unnamed, empty buffer that
320buffer is wiped out. Avoids that there is an unused buffer in the buffer
321list.
322
323Win32: When libintl.dll supports bind_textdomain_codeset(), use it.
324(NAKADAIRA Yukihiro)
325
326When foldtext() finds no text after removing the comment leader, use the
327second line of the fold. Helps for C-style /* */ comments where the first
328line is just "/*".
329
Bram Moolenaar1cd871b2004-12-19 22:46:22 +0000330When editing the same file from two systems (e.g., Unix and MS-Windows) there
331mostly was no warning for an existing swap file, because the name of the
332edited file differs (e.g., y:\dir\file vs /home/me/dir/file). Added a flag to
333the swap file to indicate it is in the same directory as the edited file. The
334used path then doesn't matter and the check for editing the same file is much
335more reliable.
336
337Client-server communication now supports 'encoding'. When setting 'encoding'
338in a Vim server to "utf-8", and using "vim --remote fname" in a console,
339"fname" is converted from the console encoding to utf-8. Also allows Vims
340with different 'encoding' settings to exchange messages.
341
Bram Moolenaar071d4272004-06-13 20:20:40 +0000342==============================================================================
343COMPILE TIME CHANGES *compile-changes-7*
344
Bram Moolenaarab79bcb2004-07-18 21:34:53 +0000345Mac: "make" now creates the Vim.app directory and "make install" copies it to
346its final destination. (Raf)
347
348Mac: Made it possible to compile with Motif, Athena or GTK without tricks and
349still being able to use the MacRoman conversion. Added the os_mac_conv.c
350file.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000351
352==============================================================================
353BUG FIXES *bug-fixes-7*
354
Bram Moolenaarf4b8e572004-06-24 15:53:16 +0000355When using PostScript printing on MS-DOS the default 'printexpr' used "lpr"
356instead of "copy". When 'printdevice' was empty the copy command did not
357work. Use "LPT1" then.
358
359The GTK font dialog uses a font size zero when the font name doesn't include a
360size. Use a default size of 10.
361
362This example in the documentation didn't work:
363 :e `=foo . ".c" `
364Skip over the expression in `=expr` when looking for comments, |, % and #.
365
366When ":helpgrep" doesn't find anything there is no error message.
367
368"L" and "H" did not take closed folds into account.
369
370Win32: The "-P title" argument stopped at the first title that matched, even
371when it doesn't support MDI.
372
373Mac GUI: CTRL-^ and CTRL-@ did not work.
374
375"2daw" on "word." at the end of a line didn't include the preceding white
376space.
377
378Win32: Using FindExecutable() doesn't work to find a program. Use
379SearchPath() instead. For executable() use $PATHEXT when the program searched
380for doesn't have an extension.
381
382When 'virtualedit' is set, moving the cursor up after appending a character
383may move it to a different column. Was caused by auto-formatting moving the
384cursor and not putting it back where it was.
385
386When indent was added automatically and then moving the cursor, the indent was
387not deleted (like when pressing ESC). The "I" flag in 'cpoptions' can be used
388to make it work the old way.
389
Bram Moolenaarf4b8e572004-06-24 15:53:16 +0000390When opening a command-line window, 'textwidth' gets set to 78 by the Vim
391filetype plugin. Reset 'textwidth' to 0 to avoid lines are broken.
392
393After using cursor(line, col) moving up/down doesn't keep the same column.
394
395Win32: Borland C before 5.5 requires using ".u." for LowPart and HighPart
396fields. (Walter Briscoe)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000397
Bram Moolenaar843ee412004-06-30 16:16:41 +0000398On Sinix SYS_NMLN isn't always defined. Define it ourselves. (Cristiano De
399Michele)
400
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000401Printing with PostScript may keep the printer waiting for more. Append a
402CTRL-D to the printer output. (Mike Williams)
403
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +0000404When converting a string with a hex or octal number the leading '-' was
405ignored. ":echo '-05' + 0" resulted in 5 instead of -5.
406
407Using "@:" to repeat a command line didn't work when it contains control
408characters.
409
Bram Moolenaar21cf8232004-07-16 20:18:37 +0000410When using file completion for a user command, it would not expand environment
411variables like for a regular command with a file argument.
412
413'cindent': When the argument of a #define looks like a C++ class the next line
414is indented too much.
415
416When 'comments' includes multi-byte characters inserting the middle part and
417alignment may go wrong. 'cindent' also suffers from this for right-aligned
418items.
419
Bram Moolenaarab79bcb2004-07-18 21:34:53 +0000420The default for 'helplang' was "zh" for both "zh_cn" and "zh_tw". Now use
421"cn" or "tw" as intended.
422
Bram Moolenaar5eb86f92004-07-26 12:53:41 +0000423When 'bin' is set and 'eol' is not set then line2byte() added the line break
424after the last line while it's not there.
425
426Using foldlevel() in a WinEnter autocommand may not work. Noticed when
427resizing the GUI shell upon startup.
428
429Python: Using buffer.append(f.readlines()) didn't work. Allow appending a
430string with a trailing newline. The newline is ignored.
431
Bram Moolenaar269ec652004-07-29 08:43:53 +0000432When using the ":saveas f2" command for buffer "f1", the Buffers menu would
433contain "f2" twice, one of them leading to "f1". Also trigger the BufFilePre
434and BufFilePost events for the alternate buffer that gets the old name.
435
Bram Moolenaard4755bb2004-09-02 19:12:26 +0000436strridx() did not work well when the needle is empty. (Ciaran McCreesh)
437
438GTK: Avoid a potential hang in gui_mch_wait_for_chars() when input arrives
439just before it is invoked
440
441VMS: Occasionally CR characters were inserted in the file. Expansion of
442environment variables was not correct. (Zoltan Arpadffy)
443
444UTF-8: When 'delcombine' is set "dw" only deleted the last combining character
445from the first character of the word.
446
447When using ":sball" in an autocommand only the filetype in one buffer was
448detected. Reset did_filetype in enter_buffer().
449
450When using ":argdo" and the window already was at the first argument index,
451but not actually editing it, the current buffer would be used instead.
452
Bram Moolenaar15d0a8c2004-09-06 17:44:46 +0000453When ":next dir/*" includes many matches, adding the names to the argument
454list may take an awful lot of time and can't be interrupted. Allow
455interrupting this.
456
457When editing a file that was already loaded in a buffer, modelines were not
458used. Now window-local options in the modeline are set. Buffer-local options
459and global options remain unmodified.
460
461Win32: When 'encoding' is set to "utf-8" in the vimrc file, files from the
462command line with non-ASCII characters are not used correctly. Recode the
463file names when 'encoding' is set, using the Unicode command line.
464
Bram Moolenaarc0197e22004-09-13 20:26:32 +0000465Win32 console: When the default for 'encoding' ends up to be "latin1", the
466default value of 'isprint' was wrong.
467
468When an error message is given while waiting for a character (e.g., when an
469xterm reports the number of colors), the hit-enter prompt overwrote the last
470line. Don't reset msg_didout in normal_cmd() for K_IGNORE.
471
Bram Moolenaar3fdfa4a2004-10-07 21:02:47 +0000472Mac GUI: Shift-Tab didn't work.
473
474When defining tooltip text, don't translate terminal codes, since it's not
475going to be used like a command.
476
477GTK 2: Check the tooltip text for valid utf-8 characters to avoid getting a
478GTK error. Invalid characters may appear when 'encoding' is changed.
479
480GTK 2: Add a safety check for invalid utf-8 sequences, they can crash pango.
481
482Win32: When 'encoding' is changed while starting up, use the Unicode command
483line to convert the file arguments to 'encoding'. Both for the GUI and the
484console version.
485
486Win32 GUI: latin9 text (iso-8859-15) was not displayed correctly, because
487there is no codepage for latin9. Do our own conversion from latin9 to UCS2.
488
Bram Moolenaar7b0294c2004-10-11 10:16:09 +0000489When two versions of GTK+ 2 are installed it was possible to use the header
490files from one and the library from the other. Use GTK_LIBDIR to put the
491directory for the library early in the link flags.
492
493With the GUI find/replace dialog a replace only worked if the pattern was
494literal text. Now it works for any pattern.
495
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000496When 'equalalways' is set and 'eadirection' is "hor", ":quit" would still
497cause equalizing window heights in the vertical direction.
498
499When ":emenu" is used in a startup script the command was put in the typeahead
500buffer, causing a prompt for the crypt key to be messed up.
501
502Mac OS/X: The default for 'isprint' included characters 128-160, causes
503problems for Terminal.app.
504
505When a syntax item with "containedin" is used, it may match in the start or
506end of a region with a matchgroup, while this doesn't happen for a "contains"
507argument.
508
509When a transparent syntax items matches in another item where the highlighting
510has already stopped (because of a he= argument), the highlighting would come
511back.
512
513When cscope is used to set the quickfix error list, it didn't get set if there
514was only one match. (Sergey Khorev)
515
516When 'confirm' is set and using ":bdel" in a modified buffer, then selecting
517"cancel", would still give an error message.
518
519The PopUp menu items that started Visual mode didn't work when not in Normal
520mode. Switching between selecting a word and a line was not possible.
521
522Win32: The keypad decimal point always resulted in a '.', while on some
523keyboards it's a ','. Use MapVirtualKey(VK_DECIMAL, 2).
524
525Removed unused function DisplayCompStringOpaque() from gui_w32.c
526
527In Visual mode there is not always an indication whether the line break is
528selected or not. Highlight the character after the line when the line break
529is included, e.g., after "v$o".
530
531GTK: The <F10> key can't be mapped, it selects the menu. Disable that with a
532GTK setting and do select the menu when <F10> isn't mapped. (David Necas)
533
534After "Y" '[ and '] were not at start/end of the yanked text.
535
536When a telnet connection is dropped Vim preserves files and exits. While
537doing that a SIGHUP may arrive and disturbe us, thus ignore it. (Scott
Bram Moolenaar46c9c732004-12-12 11:37:09 +0000538Anderson) Also postpone SIGHUP, SIGQUIT and SIGTERM until it's safe to
539handle. Added handle_signal().
540
541When using "set laststatus=2 cmdheight=2" in the .gvimrc you may only get one
542line for the cmdline. (Christian Robinson) Invoke command_height() after the
543GUI has started up.
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000544
Bram Moolenaar1cd871b2004-12-19 22:46:22 +0000545When completing a file name on the command line backslashes are required for
546white space. Was only done for a space, not for a Tab.
547
548When configure could not find a terminal library, compiling continued for a
549long time before reporting the problem. Added a configure check for tgetent()
550being found in a library.
551
552When the cursor is on the first char of the last line a ":g/pat/s///" command
553may cause the cursor to be displayed below the text.
554
555Win32: Editing a file with non-ASCII characters doesn't work when 'encoding'
556is "utf-8". use _wfullpath() instead of _fullpath(). (Yu-sung Moon)
557
558When recovering the 'fileformat' and 'fileencoding' were taken from the
559original file instead of from the swapfile. When the file didn't exist, was
560empty or the option was changed (e.g., with ":e ++fenc=cp123 file") it could
561be wrong. Now store 'fileformat' and 'fileencoding' in the swapfile and use
562the values when recovering.
563
564":bufdo g/something/p" overwrites each last printed text line with the file
565message for the next buffer. Temporarily clear 'shortmess' to avoid that.
566
Bram Moolenaar071d4272004-06-13 20:20:40 +0000567 vim:tw=78:ts=8:ft=help:norl: