comparison runtime/doc/eval.txt @ 13501:a4a559e08798 v8.0.1624

patch 8.0.1624: options for term_dumpdiff() and term_dumpload() not implemented commit https://github.com/vim/vim/commit/5a3a49ed592e8300553590392721a5e55fede6e7 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 20 18:35:53 2018 +0100 patch 8.0.1624: options for term_dumpdiff() and term_dumpload() not implemented Problem: Options for term_dumpdiff() and term_dumpload() not implemented yet. Solution: Implement the relevant options.
author Christian Brabandt <cb@256bit.org>
date Tue, 20 Mar 2018 18:45:07 +0100
parents 9eebe457eb3c
children 4064f342bea4
comparison
equal deleted inserted replaced
13500:8579d5f3da4b 13501:a4a559e08798
1 *eval.txt* For Vim version 8.0. Last change: 2018 Mar 18 1 *eval.txt* For Vim version 8.0. Last change: 2018 Mar 20
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
8188 The top part of the buffer contains the contents of the first 8188 The top part of the buffer contains the contents of the first
8189 file, the bottom part of the buffer contains the contents of 8189 file, the bottom part of the buffer contains the contents of
8190 the second file. The middle part shows the differences. 8190 the second file. The middle part shows the differences.
8191 The parts are separated by a line of dashes. 8191 The parts are separated by a line of dashes.
8192 8192
8193 {options} are not implemented yet. 8193 If the {options} argument is present, it must be a Dict with
8194 these possible members:
8195 "term_name" name to use for the buffer name, instead
8196 of the first file name.
8197 "term_rows" vertical size to use for the terminal,
8198 instead of using 'termsize'
8199 "term_cols" horizontal size to use for the terminal,
8200 instead of using 'termsize'
8201 "vertical" split the window vertically
8202 "curwin" use the current window, do not split the
8203 window; fails if the current buffer
8204 cannot be |abandon|ed
8205 "norestore" do not add the terminal window to a
8206 session file
8194 8207
8195 Each character in the middle part indicates a difference. If 8208 Each character in the middle part indicates a difference. If
8196 there are multiple differences only the first in this list is 8209 there are multiple differences only the first in this list is
8197 used: 8210 used:
8198 X different character 8211 X different character
8211 Open a new window displaying the contents of {filename} 8224 Open a new window displaying the contents of {filename}
8212 The file must have been created with |term_dumpwrite()|. 8225 The file must have been created with |term_dumpwrite()|.
8213 Returns the buffer number or zero when it fails. 8226 Returns the buffer number or zero when it fails.
8214 Also see |terminal-diff|. 8227 Also see |terminal-diff|.
8215 8228
8216 {options} are not implemented yet. 8229 For {options} see |term_dumpdiff()|.
8217 8230
8218 *term_dumpwrite()* 8231 *term_dumpwrite()*
8219 term_dumpwrite({buf}, {filename} [, {options}]) 8232 term_dumpwrite({buf}, {filename} [, {options}])
8220 Dump the contents of the terminal screen of {buf} in the file 8233 Dump the contents of the terminal screen of {buf} in the file
8221 {filename}. This uses a format that can be used with 8234 {filename}. This uses a format that can be used with
9235 visualextra Compiled with extra Visual mode commands. 9248 visualextra Compiled with extra Visual mode commands.
9236 |blockwise-operators|. 9249 |blockwise-operators|.
9237 vms VMS version of Vim. 9250 vms VMS version of Vim.
9238 vreplace Compiled with |gR| and |gr| commands. 9251 vreplace Compiled with |gR| and |gr| commands.
9239 vtp Compiled for vcon support |+vtp| (check vcon to find 9252 vtp Compiled for vcon support |+vtp| (check vcon to find
9240 out if it works in the current console)). 9253 out if it works in the current console).
9241 wildignore Compiled with 'wildignore' option. 9254 wildignore Compiled with 'wildignore' option.
9242 wildmenu Compiled with 'wildmenu' option. 9255 wildmenu Compiled with 'wildmenu' option.
9243 win32 Win32 version of Vim (MS-Windows 95 and later, 32 or 9256 win32 Win32 version of Vim (MS-Windows 95 and later, 32 or
9244 64 bits) 9257 64 bits)
9245 win32unix Win32 version of Vim, using Unix files (Cygwin) 9258 win32unix Win32 version of Vim, using Unix files (Cygwin)