Macro Language Reference > Macros > Text (Frame Level) > ttword
  
ttword
Description
Used to move the cursor around the current stream. The unit of movement is a single word, which includes any punctuation and space characters at the end of the word. Clicking the mouse quickly within a word twice selects the word.
 
Example 304. Define additional termination characters for ttword
The following example will add the additional termination characters x, y and z to be used in the ttword macro:
wdpref w"xyz"
These characters can also be set via the Misc tab of the Interface Options dialog box.
Syntax
ttword code:n?
ttword
[no parameter]
Select the current word. If the text cursor is positioned at the end of a word, that word and any punctuation or space character after it will be selected.
code
–1
Move the cursor to the start of the word or, if it is already at the start of a word, to the start of the previous word.
0
Select the current word. If the text cursor is positioned at the end of a word, that word and any punctuation or space character after it will be selected.
1
Move the cursor forward by one word. If there is text selected then the cursor is moved one word past the end of the selected text.
Related Links