Handbook
Glossary
word-elt
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Editor gadgets
»
Documents
»
Document elements
Prev:
one-word-elt
Next:
one-line-elt
Vocabulary
documents
.
elements
Class description
An element representing a single word. The
prev-elt
and
next-elt
words return the location of the previous and next word from the current location.
See also
one-word-elt
Definition
IN:
documents.elements
SINGLETON:
word-elt
Methods
USING:
documents.elements
documents.elements.private
kernel
;
M:
word-elt
next-elt
drop
[
[
blank-at?
next-word
]
modify-col
]
next
;
USING:
documents.elements
documents.elements.private
kernel
math
;
M:
word-elt
prev-elt
drop
[
[
[
1
-
]
dip
blank-at?
prev-word
]
modify-col
]
prev
;