Mercurial > vim
comparison runtime/doc/if_mzsch.txt @ 856:8cd729851562 v7.0g
updated for version 7.0g
author | vimboss |
---|---|
date | Sun, 30 Apr 2006 18:54:39 +0000 |
parents | a209672376fd |
children | 4bac29d27e2f |
comparison
equal
deleted
inserted
replaced
855:d2a4f08396fe | 856:8cd729851562 |
---|---|
1 *if_mzsch.txt* For Vim version 7.0f. Last change: 2006 Mar 06 | 1 *if_mzsch.txt* For Vim version 7.0g. Last change: 2006 Apr 30 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Sergey Khorev | 4 VIM REFERENCE MANUAL by Sergey Khorev |
5 | 5 |
6 | 6 |
39 |script-here|. | 39 |script-here|. |
40 | 40 |
41 *:mzfile* *:mzf* | 41 *:mzfile* *:mzf* |
42 :[range]mzf[ile] {file} Execute the MzScheme script in {file}. {not in Vi} | 42 :[range]mzf[ile] {file} Execute the MzScheme script in {file}. {not in Vi} |
43 All statements are executed in the namespace of the | 43 All statements are executed in the namespace of the |
44 buffer that was current during :mzfile start. | 44 buffer that was current during :mzfile start. |
45 If you want to access other namespaces, use | 45 If you want to access other namespaces, use |
46 'parameterize'. | 46 'parameterize'. |
47 | 47 |
48 All of these commands do essentially the same thing - they execute a piece of | 48 All of these commands do essentially the same thing - they execute a piece of |
49 MzScheme code, with the "current range" set to the given line | 49 MzScheme code, with the "current range" set to the given line |
194 (get-buff-line {linenr} [buffer]) | 194 (get-buff-line {linenr} [buffer]) |
195 Get line from a buffer. | 195 Get line from a buffer. |
196 (set-buff-line {linenr} {string} [buffer]) | 196 (set-buff-line {linenr} {string} [buffer]) |
197 Set a line in a buffer. If {string} is #f, | 197 Set a line in a buffer. If {string} is #f, |
198 the line gets deleted. The [buffer] | 198 the line gets deleted. The [buffer] |
199 argument is optional. If omitted, the | 199 argument is optional. If omitted, the |
200 current buffer will be used. | 200 current buffer will be used. |
201 (get-buff-line-list {start} {end} [buffer]) | 201 (get-buff-line-list {start} {end} [buffer]) |
202 Get a list of lines in a buffer. {Start} | 202 Get a list of lines in a buffer. {Start} |
203 and {end} are 1-based. {Start} is | 203 and {end} are 1-based. {Start} is |
204 inclusive, {end} - exclusive. | 204 inclusive, {end} - exclusive. |
205 (set-buff-line-list {start} {end} {string-list} [buffer]) | 205 (set-buff-line-list {start} {end} {string-list} [buffer]) |
260 To use the MzScheme interface the MzScheme DLLs must be in your search path. | 260 To use the MzScheme interface the MzScheme DLLs must be in your search path. |
261 In a console window type "path" to see what directories are used. | 261 In a console window type "path" to see what directories are used. |
262 | 262 |
263 The names of the DLLs must match the MzScheme version Vim was compiled with. | 263 The names of the DLLs must match the MzScheme version Vim was compiled with. |
264 For MzScheme version 209 they will be "libmzsch209_000.dll" and | 264 For MzScheme version 209 they will be "libmzsch209_000.dll" and |
265 "libmzgc209_000.dll". To know for sure edit "gvim.exe" and search for | 265 "libmzgc209_000.dll". To know for sure edit "gvim.exe" and search for |
266 "libmzsch\d\d\d_\d\d\d\.dll\c". | 266 "libmzsch\d\d\d_\d\d\d\.dll\c". |
267 | 267 |
268 ====================================================================== | 268 ====================================================================== |
269 vim:tw=78:ts=8:sts=4:ft=help:norl: | 269 vim:tw=78:ts=8:sts=4:ft=help:norl: |