2.18 String editing
In a 4D CAD string edit box, you can apply the following edit operations:
If a caret is shown
- press the left-arrow key to move the caret one character to the left
- press the left-arrow and option keys to move the caret one word to the left
- press the left-arrow and shift keys to select the character at the left of the
caret
- press the left-arrow and shift and option keys to select the word at the left
of the caret
- press the right-arrow key to move the caret one character to the right
- press the right-arrow and option keys to move the caret one word to the right
- press the right-arrow and shift keys to select the character at the right of the
caret
- press the right-arrow and shift and option keys to select the word at the right
of the caret
- press the up-arrow key to move the caret to the start of the text
- press the up-arrow and shift keys to select the text from the start of the text up
to the caret
- press the down-arrow key to move the caret to the end of the text
- press the down-arrow and shift keys to select the text from the caret to
the end of the text
- press the backspace key to remove the character at the left of the caret
- press the forward delete key to remove the character at the right of the caret
- press the return, tab and enter key to conclude the edit box, accepting the
changes
- press the escape key to conclude the edit box, canceling the changes
- enter characters to insert them at the caret position
- click the mouse to set the caret at the nearest character position
- click the mouse holding the shift key to select the text from the nearest
character position to the caret
- click and drag the mouse to dynamically select text
- double-click the mouse to select a word
- double-click and drag the mouse to dynamically select text, starting with a word
- triple-click the mouse to select a whole line of text
- perform an edit-paste to insert clipboard text (if any) at the caret position
- perform an edit-undo to cancel the last editing operation
- perform an edit-redo to redo the last editing operation

If a selection is highlighted
- press the left-arrow key to show a caret at the left of
the former selection
- press the left-arrow and option keys to show a caret one word to the
left of the former selection
- press the left-arrow and shift keys to extend the selection with the character at
the left (or to remove a character from a previous extension at the right)
- press the left-arrow and shift and option keys to extend the selection with
the word at the left (or to remove a word from a previous extension at the right)
- press the right-arrow key key to show a caret at the right of
the former selection
- press the right-arrow and option keys to show a caret one word to the
right of the former selection
- press the right-arrow and shift keys to extend the selection with the character at
the right (or to remove a character from a previous extension at the left)
- press the right-arrow and shift and option keys to extend the selection with
the word at the right (or to remove a word from a previous extension at the left)
- press the up-arrow key to move the caret to the start of the text
- press the up-arrow and shift keys to select the text from the start of the text up
to the end of the former selection
- press the down-arrow key to move the caret to the end of the text
- press the down-arrow and shift keys to select the text from the start of the former
selection to the end of the text
- press the backspace key to remove the selection from the text
- press the forward delete key to remove the selection from the text
- press the return, tab and enter key to conclude the edit box, accepting the
changes
- press the escape key to conclude the edit box, canceling the changes
- enter characters to insert them, replacing the selection
- click the mouse to place a caret at the nearest character position
- click the mouse holding the shift key to extend the selection to the nearest
character position
- click and drag the mouse to dynamically select text
- double-click the mouse to select a word
- double-click and drag the mouse to dynamically select text, starting with a word
- triple-click the mouse to select a whole line of text
- perform an edit-cut to remove the selection from the text, moving it to the clipboard
- perform an edit-copy to copy the selection from the text to the clipboard
- perform an edit-paste to copy the clipboard (if any) to the text, replacing the
selection
- perform an edit-clear to remove the selection from the text
- perform an edit-undo to cancel the last editing operation
- perform an edit-redo to redo the last editing operation
The edit box automatically grows and shrinks with the size of the text.
If it can not grow, as it has reached the visible edges of the drawing,
the text inside the edit box automatically scrolls.
The string edit box has the same position and rotation angle as the text in the drawing.