Fomus
marks
(addmark event mark) (getmark event markid) (getmarks event markid) (rmmark event markid) (combmarks event-list) (addprop object prop) (getprop object propid) (getprops object propid) (rmprop object propid) (combprops object-list)
These are utility functions for adding, removing and combining marks and
properties in and
slots. ADDMARK
and ADDPROP
insert a mark or property (a symbol or
list of symbols and arguments values) in the appropriate slot of the
object. GETMARK
and GETPROP
find a mark or property given an
identifier. The identifier is a symbol or list specifying the
mark/property symbol and any number of the arguments following it. The
function returns the first mark that matches the specified
symbols/values up to the number of symbols/values given. (For example,
'(:STARTSLUR- 2)
will return the starting mark for a "level 2" slur.)
GETMARKS
and GETPROPS
return all matching marks/properties. RMMARK
and RMPROP
remove (as a side-effect) all matching marks/properties
from the objects. COMBMARKS
and COMBPROPS
returns a new
mark/property list that is a combination of all marks/properties objects
in the supplied list (with duplicates removed).