documents vocabulary
Factor handbook > Vocabulary index


Documentation
Documents

Meta-data
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
document modellocs undos redos inside-undo?
edit tupleold-string new-string from old-to new-to


Ordinary words
WordStack effect
+col( loc n -- newloc )
+line( loc n -- newloc )
<document>( -- document )
<edit>( old-string new-string from old-to new-to -- edit )
=col( n loc -- newloc )
=line( n loc -- newloc )
add-loc( loc document -- )
add-undo( edit document -- )
change-doc-range( from to document quot -- )
clear-doc( document -- )
clear-undo( document -- )
doc-end( document -- loc )
doc-line( n document -- string )
doc-lines( from to document -- slice )
doc-range( from to document -- string )
doc-start( -- value )
doc-string( document -- str )
each-line( ... from to quot: ( ... line -- ... ) -- ... )
end-on-line( to line# document -- n2 )
last-line#( document -- line )
line-end( line# document -- loc )
line-end?( loc document -- ? )
lines-equal?( loc1 loc2 -- ? )
map-lines( ... from to quot: ( ... line -- ... result ) -- ... results )
redo( document -- )
remove-doc-range( from to document -- )
remove-loc( loc document -- )
set-doc-range( string from to document -- )
set-doc-string( string document -- )
start-on-line( from line# document -- n1 )
start/end-on-line( from to line# document -- n1 n2 )
undo( document -- )
update-locs( loc document -- )
validate-col( col line document -- col )
validate-line( line document -- line )
validate-loc( loc document -- newloc )


Class predicate words
WordStack effect
document?( object -- ? )
edit?( object -- ? )


Files


Children from resource:basis
VocabularySummary
documents.elementsdocuments.elements vocabulary


Children
VocabularySummary
documents.privatedocuments.private vocabulary