Bram Moolenaar | 3fdfa4a | 2004-10-07 21:02:47 +0000 | [diff] [blame] | 1 | *version7.txt* For Vim version 7.0aa. Last change: 2004 Oct 07 |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 2 | |
| 3 | |
| 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
| 5 | |
| 6 | |
| 7 | Welcome to Vim 7! A large number of features has been added. This file |
| 8 | mentions all the new items, changes to existing features and bug fixes |
| 9 | compared to Vim 6.x. |
| 10 | |
| 11 | See |vi_diff.txt| for an overview of differences between Vi and Vim 7.0. |
| 12 | See |version4.txt| for differences between Vim 3.x and Vim 4.x. |
| 13 | See |version5.txt| for differences between Vim 4.x and Vim 5.x. |
| 14 | See |version6.txt| for differences between Vim 5.x and Vim 6.x. |
| 15 | |
| 16 | INCOMPATIBLE CHANGES |incompatible-7| |
| 17 | |
| 18 | NEW FEATURES |new-7| |
| 19 | |
| 20 | New data types |new-data-types| |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 21 | KDE support |new-KDE| |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 22 | Various new items |new-items-7| |
| 23 | |
| 24 | IMPROVEMENTS |improvements-7| |
| 25 | |
| 26 | COMPILE TIME CHANGES |compile-changes-7| |
| 27 | |
| 28 | BUG FIXES |bug-fixes-7| |
| 29 | |
| 30 | ============================================================================== |
| 31 | INCOMPATIBLE CHANGES *incompatible-7* |
| 32 | |
| 33 | These changes are incompatible with previous releases. Check this list if you |
| 34 | run into a problem when upgrading from Vim 6.x to 7.0 |
| 35 | |
Bram Moolenaar | f4b8e57 | 2004-06-24 15:53:16 +0000 | [diff] [blame] | 36 | ":helpgrep" now uses a help window to display a match. |
| 37 | |
| 38 | |
| 39 | Minor incompatibilities: |
| 40 | |
| 41 | For filetype detection: For many types, instead of ~/.dir/filename use |
| 42 | */.dir/filename, so that it also works for other user's files. |
| 43 | |
| 44 | ":0verbose" now sets 'verbose' to zero instead of one. |
| 45 | |
| 46 | Removed the old and incomplete "VimBuddy" code. |
| 47 | |
| 48 | Buffers without a name report "No Name" instead of "No File". It was |
| 49 | confusing for buffers with a name and 'buftype' set to "nofile". |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 50 | |
| 51 | ============================================================================== |
| 52 | NEW FEATURES *new-7* |
| 53 | |
| 54 | New data types *new-data-types* |
| 55 | -------------- |
| 56 | |
| 57 | In Vim scripts the following types have been added: |
| 58 | |
| 59 | list ordered list of items |
| 60 | dictionary associative array of items |
| 61 | function reference to a function |
| 62 | |
| 63 | Many functions and commands have been added to support the new types. |
| 64 | |
Bram Moolenaar | 843ee41 | 2004-06-30 16:16:41 +0000 | [diff] [blame] | 65 | NOT IMPLEMENTED YET! |
| 66 | |
| 67 | |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 68 | KDE support *new-KDE* |
Bram Moolenaar | 843ee41 | 2004-06-30 16:16:41 +0000 | [diff] [blame] | 69 | ----------- |
| 70 | |
| 71 | Kvim is the KDE version of Vim. It uses the Qt toolkit. See |KVim|. |
| 72 | (Thomas Capricelli, Philippe Fremy, Mickael Marchand, Mark Westcott, et al.) |
| 73 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 74 | |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 75 | MzScheme interface *new-MzScheme* |
| 76 | ------------------ |
| 77 | |
| 78 | The MzScheme interpreter is supported. |MzScheme| |
| 79 | The |:mzscheme| command can be used to execute MzScheme commands. |
| 80 | The |:mzfile| command can be used to execute an MzScheme script file. |
| 81 | |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 82 | Printing multi-byte text *new-print-multi-byte* |
| 83 | ------------------ |
| 84 | |
| 85 | The |:hardcopy| command now supports printing multi-byte characters. |
| 86 | The 'printmbcharset' and 'printmbfont' options are used for this. |
| 87 | Also see |postscript-cjk-printing|. (Mike Williams) |
| 88 | |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 89 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 90 | Various new items *new-items-7* |
| 91 | ----------------- |
| 92 | |
| 93 | Normal mode commands: ~ |
| 94 | |
Bram Moolenaar | cfbc5ee | 2004-07-02 15:38:35 +0000 | [diff] [blame] | 95 | a", a' and a` New text objects to select quoted strings. |a'| |
| 96 | i", i' and i' (Taro Muraoka) |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 97 | |
| 98 | Options: ~ |
| 99 | |
Bram Moolenaar | cfbc5ee | 2004-07-02 15:38:35 +0000 | [diff] [blame] | 100 | 'completefunc' The name of a function used for user-specified Insert |
| 101 | mode completion. CTRL-X CTRL-U can be used in Insert |
| 102 | mode to do any kind of completion. (Taro Muraoka) |
| 103 | 'quoteescape' Characters used to escape quotes inside a string. |
| 104 | Used for the a", a' and a` text objects. |a'| |
Bram Moolenaar | 592e0a2 | 2004-07-03 16:05:59 +0000 | [diff] [blame] | 105 | 'numberwidth' Minimal width of the space used for the 'number' |
| 106 | option. (Emmanuel Renieris) |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 107 | 'mzquantum' Time in msec to schedule MzScheme threads. |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 108 | 'printmbcharset' CJK character set to be used for :hardcopy |
| 109 | 'printmbfont' font names to be used for CJK output of :hardcopy |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 110 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 111 | |
| 112 | Ex commands: ~ |
| 113 | |
Bram Moolenaar | 843ee41 | 2004-06-30 16:16:41 +0000 | [diff] [blame] | 114 | Win32: The ":winpos" command now also works in the console. (Vipin Aravind) |
| 115 | |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 116 | |:startreplace| Start Replace mode. (Charles Campbell) |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 117 | |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 118 | |:0file| Removes the name of the buffer. (Charles Campbell) |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 119 | |
Bram Moolenaar | 2df6dcc | 2004-07-12 15:53:54 +0000 | [diff] [blame] | 120 | |:diffoff| Switch off diff mode in the current window or in all |
| 121 | windows. |
| 122 | |
Bram Moolenaar | d4755bb | 2004-09-02 19:12:26 +0000 | [diff] [blame] | 123 | |:keepalt| Do not change the alternate file. |
| 124 | |
Bram Moolenaar | c0197e2 | 2004-09-13 20:26:32 +0000 | [diff] [blame] | 125 | |:delmarks| Delete marks. |
| 126 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 127 | |
| 128 | New functions: ~ |
| 129 | |
Bram Moolenaar | 89cb5e0 | 2004-07-19 20:55:54 +0000 | [diff] [blame] | 130 | byteidx(expr, nr) |byteidx()| Index of a character. (Ilya Sher) |
| 131 | finddir(name) |finddir()| Find a directory in 'path'. |
| 132 | findfile(name) |findfile()| Find a file in 'path'. (Johannes |
| 133 | Zellner) |
Bram Moolenaar | 5eb86f9 | 2004-07-26 12:53:41 +0000 | [diff] [blame] | 134 | getfperm(fname) |getfperm()| Get file permission string. (Nikolai |
| 135 | Weibull) |
| 136 | getftype(fname) |getftype()| Get type of file. (Nikolai Weibull) |
Bram Moolenaar | ab79bcb | 2004-07-18 21:34:53 +0000 | [diff] [blame] | 137 | repeat(expr, count) |repeat()| Repeat "expr" "count" times. |
| 138 | (Christophe Poucet) |
| 139 | tr(expr, from, to) |tr()| Translate characters. (Ron Aaron) |
Bram Moolenaar | c0197e2 | 2004-09-13 20:26:32 +0000 | [diff] [blame] | 140 | system(cmd, input) |system()| Filters {input} through a shell |
| 141 | command. |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 142 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 143 | |
| 144 | New autocommand events: ~ |
| 145 | |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 146 | |InsertEnter| starting Insert or Replace mode |
| 147 | |InsertChange| going from Insert to Replace mode or back |
| 148 | |InsertLeave| leaving Insert or Replace mode |
Bram Moolenaar | 843ee41 | 2004-06-30 16:16:41 +0000 | [diff] [blame] | 149 | |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 150 | |ColorScheme| after loading a color scheme |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 151 | |
Bram Moolenaar | cfbc5ee | 2004-07-02 15:38:35 +0000 | [diff] [blame] | 152 | |
Bram Moolenaar | c0197e2 | 2004-09-13 20:26:32 +0000 | [diff] [blame] | 153 | New items in search patterns: ~ |
| 154 | |/\%d| \%d123 search for character with decimal number |
| 155 | |/\]| [\d123] idem, in a colletion |
| 156 | |/\%o| \%o103 search for character with octal number |
| 157 | |/\]| [\o1o3] idem, in a colletion |
| 158 | |/\%x| \%x1a search for character with 2 pos. hex number |
| 159 | |/\]| [\x1a] idem, in a colletion |
| 160 | |/\%u| \%u12ab search for character with 4 pos. hex number |
| 161 | |/\]| [\u12ab] idem, in a colletion |
| 162 | |/\%U| \%U1234abcd search for character with 8 pos. hex number |
| 163 | |/\]| [\U1234abcd] idem, in a colletion |
| 164 | (The above partly by Ciaran McCreesh) |
| 165 | |
| 166 | |
Bram Moolenaar | cfbc5ee | 2004-07-02 15:38:35 +0000 | [diff] [blame] | 167 | New Syntax/Indent/FTplugin files: ~ |
| 168 | |
| 169 | MuPAD source syntax, indent and ftplugin. (Dave Silvia) |
| 170 | |
Bram Moolenaar | d4755bb | 2004-09-02 19:12:26 +0000 | [diff] [blame] | 171 | ABAB/4 syntax file. (Marius van Wyk) |
| 172 | |
| 173 | SQL-Informix syntax file. (Dean L Hill) |
| 174 | |
Bram Moolenaar | 15d0a8c | 2004-09-06 17:44:46 +0000 | [diff] [blame] | 175 | PHP compiler plugin. (Doug Kearns) |
| 176 | |
| 177 | |
| 178 | New message translations: ~ |
| 179 | |
| 180 | The Ukranian messages are now also available in cp1251. |
| 181 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 182 | |
Bram Moolenaar | f4b8e57 | 2004-06-24 15:53:16 +0000 | [diff] [blame] | 183 | Others: ~ |
| 184 | |
| 185 | Mac: Add the selection type to the clipboard, so that Block, line and |
| 186 | character selections can be used between two Vims. (Eckehard Berns) |
| 187 | Also fixes the problem that setting 'clipboard' to "unnamed" breaks using |
| 188 | "yyp". |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 189 | |
Bram Moolenaar | 592e0a2 | 2004-07-03 16:05:59 +0000 | [diff] [blame] | 190 | Mac: GUI font selector. (Peter "Rain Dog" Cucka) |
| 191 | |
Bram Moolenaar | 843ee41 | 2004-06-30 16:16:41 +0000 | [diff] [blame] | 192 | The netrw plugin now also supports viewing a directory, when "scp://" is used. |
| 193 | Deleting and renaming files is possible. (Charles Campbell) |
| 194 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 195 | ============================================================================== |
| 196 | IMPROVEMENTS *improvements-7* |
| 197 | |
Bram Moolenaar | f4b8e57 | 2004-06-24 15:53:16 +0000 | [diff] [blame] | 198 | ":helpgrep" accepts a language specifier after the pattern: "pat@it". |
| 199 | |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 200 | Move the help for printing to a separate help file. It's quite a lot now. |
| 201 | |
Bram Moolenaar | f4b8e57 | 2004-06-24 15:53:16 +0000 | [diff] [blame] | 202 | ":breakadd here" and ":breakdel here" can be used to set or delete a |
| 203 | breakpoint at the cursor. |
| 204 | |
Bram Moolenaar | 843ee41 | 2004-06-30 16:16:41 +0000 | [diff] [blame] | 205 | The tutor was updated to make it simpler to use and added text to explain a |
| 206 | few more important commands. Used ideas from Gabriel Zachmann. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 207 | |
Bram Moolenaar | cfbc5ee | 2004-07-02 15:38:35 +0000 | [diff] [blame] | 208 | Unix: When libcall() fails obtain an error message with dlerror() and display |
| 209 | it. (Johannes Zellner) |
| 210 | |
Bram Moolenaar | 592e0a2 | 2004-07-03 16:05:59 +0000 | [diff] [blame] | 211 | Added "nbsp" in 'listchars'. (David Blanchet) |
| 212 | |
Bram Moolenaar | 21cf823 | 2004-07-16 20:18:37 +0000 | [diff] [blame] | 213 | Added the "acwrite" value for the 'buftype' option. This is for a buffer that |
| 214 | doesn not have a name that refers to a file and is written with BufWriteCmd |
| 215 | autocommands. |
| 216 | |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 217 | For lisp indenting and matching parenthesis: (Sergey Khorev) |
| 218 | - square brackets are recognized properly |
| 219 | - #\(, #\), #\[ and #\] are recognized as character literals |
| 220 | - Lisp line comments (delimited by semicolon) are recognized |
| 221 | |
Bram Moolenaar | 89cb5e0 | 2004-07-19 20:55:54 +0000 | [diff] [blame] | 222 | Added the "count" argument to match(), matchend() and matchstr(). (Ilya Sher) |
| 223 | |
Bram Moolenaar | 5eb86f9 | 2004-07-26 12:53:41 +0000 | [diff] [blame] | 224 | winnr() takes an optional "$" and "#" arguments. (Nikolai Weibull, Yegappan |
| 225 | Lakshmanan) |
| 226 | |
| 227 | Added 'n' flag to search(): don't move the cursor. (Nikolai Weibull) |
| 228 | |
Bram Moolenaar | d4755bb | 2004-09-02 19:12:26 +0000 | [diff] [blame] | 229 | When uncompressing fails in the gzip plugin, give an error message but don't |
| 230 | delete the raw text. Helps if the file has a .gz extension but is not |
| 231 | actually compressed. (Andrew Pimlott) |
| 232 | |
| 233 | When C, C++ or IDL syntax is used, may additionally load doxygen syntax. |
| 234 | Also support setting the filetype to "cdoxygen" for C plus doxygen syntax. |
| 235 | (Michael Geddes) |
| 236 | |
| 237 | The ":registers" command now displays multi-byte characters properly. |
| 238 | |
| 239 | VMS: In the usage message mention that a slash can be used to make a flag |
| 240 | upper case. Add color support to the builtin vt320 terminal codes. |
| 241 | (Zoltan Arpadffy) |
| 242 | |
Bram Moolenaar | 15d0a8c | 2004-09-06 17:44:46 +0000 | [diff] [blame] | 243 | For the '%' item in 'viminfo', allow a number to set a maximum for the number |
| 244 | of buffers. |
| 245 | |
Bram Moolenaar | 3fdfa4a | 2004-10-07 21:02:47 +0000 | [diff] [blame] | 246 | When a file looks like a shell script, check for an "exec" command that starts |
| 247 | the tcl interpreter. (suggested by Alexios Zavras) |
| 248 | |
| 249 | Support conversion between utf-8 and latin9 (iso-8859-15) internally, so that |
| 250 | digraphs still work when iconv is not available. |
| 251 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 252 | ============================================================================== |
| 253 | COMPILE TIME CHANGES *compile-changes-7* |
| 254 | |
Bram Moolenaar | ab79bcb | 2004-07-18 21:34:53 +0000 | [diff] [blame] | 255 | Mac: "make" now creates the Vim.app directory and "make install" copies it to |
| 256 | its final destination. (Raf) |
| 257 | |
| 258 | Mac: Made it possible to compile with Motif, Athena or GTK without tricks and |
| 259 | still being able to use the MacRoman conversion. Added the os_mac_conv.c |
| 260 | file. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 261 | |
| 262 | ============================================================================== |
| 263 | BUG FIXES *bug-fixes-7* |
| 264 | |
Bram Moolenaar | f4b8e57 | 2004-06-24 15:53:16 +0000 | [diff] [blame] | 265 | When using PostScript printing on MS-DOS the default 'printexpr' used "lpr" |
| 266 | instead of "copy". When 'printdevice' was empty the copy command did not |
| 267 | work. Use "LPT1" then. |
| 268 | |
| 269 | The GTK font dialog uses a font size zero when the font name doesn't include a |
| 270 | size. Use a default size of 10. |
| 271 | |
| 272 | This example in the documentation didn't work: |
| 273 | :e `=foo . ".c" ` |
| 274 | Skip over the expression in `=expr` when looking for comments, |, % and #. |
| 275 | |
| 276 | When ":helpgrep" doesn't find anything there is no error message. |
| 277 | |
| 278 | "L" and "H" did not take closed folds into account. |
| 279 | |
| 280 | Win32: The "-P title" argument stopped at the first title that matched, even |
| 281 | when it doesn't support MDI. |
| 282 | |
| 283 | Mac GUI: CTRL-^ and CTRL-@ did not work. |
| 284 | |
| 285 | "2daw" on "word." at the end of a line didn't include the preceding white |
| 286 | space. |
| 287 | |
| 288 | Win32: Using FindExecutable() doesn't work to find a program. Use |
| 289 | SearchPath() instead. For executable() use $PATHEXT when the program searched |
| 290 | for doesn't have an extension. |
| 291 | |
| 292 | When 'virtualedit' is set, moving the cursor up after appending a character |
| 293 | may move it to a different column. Was caused by auto-formatting moving the |
| 294 | cursor and not putting it back where it was. |
| 295 | |
| 296 | When indent was added automatically and then moving the cursor, the indent was |
| 297 | not deleted (like when pressing ESC). The "I" flag in 'cpoptions' can be used |
| 298 | to make it work the old way. |
| 299 | |
Bram Moolenaar | f4b8e57 | 2004-06-24 15:53:16 +0000 | [diff] [blame] | 300 | When opening a command-line window, 'textwidth' gets set to 78 by the Vim |
| 301 | filetype plugin. Reset 'textwidth' to 0 to avoid lines are broken. |
| 302 | |
| 303 | After using cursor(line, col) moving up/down doesn't keep the same column. |
| 304 | |
| 305 | Win32: Borland C before 5.5 requires using ".u." for LowPart and HighPart |
| 306 | fields. (Walter Briscoe) |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 307 | |
Bram Moolenaar | 843ee41 | 2004-06-30 16:16:41 +0000 | [diff] [blame] | 308 | On Sinix SYS_NMLN isn't always defined. Define it ourselves. (Cristiano De |
| 309 | Michele) |
| 310 | |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 311 | Printing with PostScript may keep the printer waiting for more. Append a |
| 312 | CTRL-D to the printer output. (Mike Williams) |
| 313 | |
Bram Moolenaar | 2df6dcc | 2004-07-12 15:53:54 +0000 | [diff] [blame] | 314 | When converting a string with a hex or octal number the leading '-' was |
| 315 | ignored. ":echo '-05' + 0" resulted in 5 instead of -5. |
| 316 | |
| 317 | Using "@:" to repeat a command line didn't work when it contains control |
| 318 | characters. |
| 319 | |
Bram Moolenaar | 21cf823 | 2004-07-16 20:18:37 +0000 | [diff] [blame] | 320 | When using file completion for a user command, it would not expand environment |
| 321 | variables like for a regular command with a file argument. |
| 322 | |
| 323 | 'cindent': When the argument of a #define looks like a C++ class the next line |
| 324 | is indented too much. |
| 325 | |
| 326 | When 'comments' includes multi-byte characters inserting the middle part and |
| 327 | alignment may go wrong. 'cindent' also suffers from this for right-aligned |
| 328 | items. |
| 329 | |
Bram Moolenaar | ab79bcb | 2004-07-18 21:34:53 +0000 | [diff] [blame] | 330 | The default for 'helplang' was "zh" for both "zh_cn" and "zh_tw". Now use |
| 331 | "cn" or "tw" as intended. |
| 332 | |
Bram Moolenaar | 5eb86f9 | 2004-07-26 12:53:41 +0000 | [diff] [blame] | 333 | When 'bin' is set and 'eol' is not set then line2byte() added the line break |
| 334 | after the last line while it's not there. |
| 335 | |
| 336 | Using foldlevel() in a WinEnter autocommand may not work. Noticed when |
| 337 | resizing the GUI shell upon startup. |
| 338 | |
| 339 | Python: Using buffer.append(f.readlines()) didn't work. Allow appending a |
| 340 | string with a trailing newline. The newline is ignored. |
| 341 | |
Bram Moolenaar | 269ec65 | 2004-07-29 08:43:53 +0000 | [diff] [blame] | 342 | When using the ":saveas f2" command for buffer "f1", the Buffers menu would |
| 343 | contain "f2" twice, one of them leading to "f1". Also trigger the BufFilePre |
| 344 | and BufFilePost events for the alternate buffer that gets the old name. |
| 345 | |
Bram Moolenaar | d4755bb | 2004-09-02 19:12:26 +0000 | [diff] [blame] | 346 | strridx() did not work well when the needle is empty. (Ciaran McCreesh) |
| 347 | |
| 348 | GTK: Avoid a potential hang in gui_mch_wait_for_chars() when input arrives |
| 349 | just before it is invoked |
| 350 | |
| 351 | VMS: Occasionally CR characters were inserted in the file. Expansion of |
| 352 | environment variables was not correct. (Zoltan Arpadffy) |
| 353 | |
| 354 | UTF-8: When 'delcombine' is set "dw" only deleted the last combining character |
| 355 | from the first character of the word. |
| 356 | |
| 357 | When using ":sball" in an autocommand only the filetype in one buffer was |
| 358 | detected. Reset did_filetype in enter_buffer(). |
| 359 | |
| 360 | When using ":argdo" and the window already was at the first argument index, |
| 361 | but not actually editing it, the current buffer would be used instead. |
| 362 | |
Bram Moolenaar | 15d0a8c | 2004-09-06 17:44:46 +0000 | [diff] [blame] | 363 | When ":next dir/*" includes many matches, adding the names to the argument |
| 364 | list may take an awful lot of time and can't be interrupted. Allow |
| 365 | interrupting this. |
| 366 | |
| 367 | When editing a file that was already loaded in a buffer, modelines were not |
| 368 | used. Now window-local options in the modeline are set. Buffer-local options |
| 369 | and global options remain unmodified. |
| 370 | |
| 371 | Win32: When 'encoding' is set to "utf-8" in the vimrc file, files from the |
| 372 | command line with non-ASCII characters are not used correctly. Recode the |
| 373 | file names when 'encoding' is set, using the Unicode command line. |
| 374 | |
Bram Moolenaar | c0197e2 | 2004-09-13 20:26:32 +0000 | [diff] [blame] | 375 | Win32 console: When the default for 'encoding' ends up to be "latin1", the |
| 376 | default value of 'isprint' was wrong. |
| 377 | |
| 378 | When an error message is given while waiting for a character (e.g., when an |
| 379 | xterm reports the number of colors), the hit-enter prompt overwrote the last |
| 380 | line. Don't reset msg_didout in normal_cmd() for K_IGNORE. |
| 381 | |
Bram Moolenaar | 3fdfa4a | 2004-10-07 21:02:47 +0000 | [diff] [blame] | 382 | Mac GUI: Shift-Tab didn't work. |
| 383 | |
| 384 | When defining tooltip text, don't translate terminal codes, since it's not |
| 385 | going to be used like a command. |
| 386 | |
| 387 | GTK 2: Check the tooltip text for valid utf-8 characters to avoid getting a |
| 388 | GTK error. Invalid characters may appear when 'encoding' is changed. |
| 389 | |
| 390 | GTK 2: Add a safety check for invalid utf-8 sequences, they can crash pango. |
| 391 | |
| 392 | Win32: When 'encoding' is changed while starting up, use the Unicode command |
| 393 | line to convert the file arguments to 'encoding'. Both for the GUI and the |
| 394 | console version. |
| 395 | |
| 396 | Win32 GUI: latin9 text (iso-8859-15) was not displayed correctly, because |
| 397 | there is no codepage for latin9. Do our own conversion from latin9 to UCS2. |
| 398 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 399 | vim:tw=78:ts=8:ft=help:norl: |