Programming Reference:SpellerCommand Class
Contents
Location
src/shared/modules/application/speller
Synopsis
A SpellerCommand object represents a speller command in parsed form. Speller commands are either plain text, or command keywords and arguments enclosed in angle brackets:
a Alpha <UNDO> <GOTO 3>
Methods
SpellerCommand(string)
Parses the argument string, and initializes the object's properties from there.
ReadFromStream(istream), WriteToStream(ostream)
Reads/writes the object from/into the specified stream objects.
Properties
string Code (rw)
For plain text entry commands, this property is empty. For keyword commands, it contains the keyword, e.g. "GOTO".
string Value (rw)
For plain text entry commands, this property contains the text to enter. For keyword commands, it contains arguments, if any, e.g. "3" for "<GOTO 3>".
See also
Programming Reference:Speller Class, Programming Reference:Target Class, User Reference:P3SpellerTask