comparison runtime/doc/if_mzsch.txt @ 34:e170173ecb68 current-release

before ack base protocol.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 26 Nov 2008 15:02:10 +0900
parents 76efa0be13f1
children c16898406ff2
comparison
equal deleted inserted replaced
33:7d0d8b831f5a 34:e170173ecb68
1 *if_mzsch.txt* For Vim version 7.1. Last change: 2007 May 03 1 *if_mzsch.txt* For Vim version 7.2. Last change: 2008 Jun 28
2 2
3 3
4 VIM REFERENCE MANUAL by Sergey Khorev 4 VIM REFERENCE MANUAL by Sergey Khorev
5 5
6 6
53 53
54 In the case of :mzscheme, the code to execute is in the command-line. 54 In the case of :mzscheme, the code to execute is in the command-line.
55 In the case of :mzfile, the code to execute is the contents of the given file. 55 In the case of :mzfile, the code to execute is the contents of the given file.
56 56
57 Each buffer has its own MzScheme namespace. Global namespace is bound to 57 Each buffer has its own MzScheme namespace. Global namespace is bound to
58 the `global-namespace' value from the 'vimext' module. 58 the "global-namespace" value from the 'vimext' module.
59 MzScheme interface defines exception exn:vim, derived from exn. 59 MzScheme interface defines exception exn:vim, derived from exn.
60 It is raised for various Vim errors. 60 It is raised for various Vim errors.
61 61
62 During compilation, the MzScheme interface will remember the current MzScheme 62 During compilation, the MzScheme interface will remember the current MzScheme
63 collection path. If you want to specify additional paths use the 63 collection path. If you want to specify additional paths use the
216 (insert-buff-line-list {linenr} {string/string-list} [buffer]) 216 (insert-buff-line-list {linenr} {string/string-list} [buffer])
217 Insert a list of lines into a buffer after 217 Insert a list of lines into a buffer after
218 {linenr}. If {linenr} is 0, lines will be 218 {linenr}. If {linenr} is 0, lines will be
219 inserted at start. 219 inserted at start.
220 (curr-buff) Get the current buffer. Use procedures 220 (curr-buff) Get the current buffer. Use procedures
221 from `vimcmd' module to change it. 221 from "vimcmd" module to change it.
222 (buff-count) Get count of total buffers in the editor. 222 (buff-count) Get count of total buffers in the editor.
223 (get-next-buff [buffer]) Get next buffer. 223 (get-next-buff [buffer]) Get next buffer.
224 (get-prev-buff [buffer]) Get previous buffer. Return #f when there 224 (get-prev-buff [buffer]) Get previous buffer. Return #f when there
225 are no more buffers. 225 are no more buffers.
226 (open-buff {filename}) Open a new buffer (for file "name") 226 (open-buff {filename}) Open a new buffer (for file "name")