32 lines
724 B
Plaintext
32 lines
724 B
Plaintext
LIBRARY wl$txt
|
|
|
|
EXTERNAL olib
|
|
|
|
INCLUDE p_std.h
|
|
INCLUDE p_object.h
|
|
INCLUDE olib.g
|
|
INCLUDE appman.g
|
|
|
|
CLASS txtread active
|
|
NB Must be first class in DYL
|
|
{
|
|
REPLACE destroy
|
|
REPLACE ao_init
|
|
REPLACE ao_queue
|
|
REPLACE ao_run
|
|
REPLACE ao_abrun
|
|
CONSTANTS
|
|
{
|
|
TXTREAD_BUFLEN 256
|
|
}
|
|
PROPERTY
|
|
{
|
|
UWORD pos; current document character content offset
|
|
UWORD lastpos; start of previous paragraph
|
|
TEXT eopara; end of para marker
|
|
TEXT dummy;
|
|
UWORD len; length of text in buf[]
|
|
TEXT buf[TXTREAD_BUFLEN]; input text buffer
|
|
}
|
|
}
|