1 Overview
Windowing
Drawing
Editor
2 Reference
Windowing Classes
Windowing Functions
Drawing Classes
Drawing Functions
Editor Classes
Editor Functions
WXME Decoding
3 Configuration
4 Dynamic Loading
Index
On this page:
read-special
Version: 4.0.2

 

readable-snip<%> : interface?

A readable-snip<%> object is treated specially by the port generated by open-input-text-editor. When a readable-snip<%> object is encountered for the input stream, its read-special method is called to generate the read result for the snip.

(send a-readable-snip read-special

 

source

 

 

 

 

 

 

line

 

 

 

 

 

 

column

 

 

 

 

 

 

position)

 

 

any/c

  source : any/c

  line : (or/c nonnegative-exact-integer? false/c)

  column : (or/c nonnegative-exact-integer? false/c)

  position : (or/c nonnegative-exact-integer? false/c)

The arguments are the same as the arguments to a procedure returned by a custom input port’s read; see Custom Ports for details. The result is also the same as the result from a read-produced procedure.