Handbook
Glossary
+col ( loc n -- newloc )
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Editor gadgets
»
Documents
»
Document locations
Next:
+line ( loc n -- newloc )
Vocabulary
documents
Inputs
loc
a pair of integers
n
an
integer
Outputs
newloc
a pair of integers
Word description
Adds an integer to the column number of a line/column pair.
See also
+line
,
=col
,
=line
Definition
USING:
arrays
kernel
math
sequences
;
IN:
documents
:
+col
( loc n -- newloc )
[
first2
]
dip
+
2array
;