Handbook
Glossary
doc-elt
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Editor gadgets
»
Documents
»
Document elements
Prev:
page-elt
Next:
prev-elt ( loc document elt -- newloc )
Vocabulary
documents
.
elements
Class description
An element representing the entire document. The
prev-elt
word outputs the start of the document and the
next-elt
word outputs the end of the document.
Definition
IN:
documents.elements
SINGLETON:
doc-elt
Methods
USING:
documents
documents.elements
kernel
;
M:
doc-elt
next-elt
drop
nip
doc-end
;
USING:
documents.elements
kernel
;
M:
doc-elt
prev-elt
3drop
{
0 0
}
;