Edit text in an animation expression

There are various keyboard commands for editing text, and the Expression Editor has buttons for clearing and restoring the entire text of an expression.

Attention: If you close the Expression Editor window without successfully compiling an expression with the Create or Edit button, Maya discards any editing changes you’ve made.

Use keyboard commands

Command Definition Platform

Ctrl + c

Command + c

Copy

Linux® and Windows®

Mac® OS X

Ctrl + x

Command + x

Cut

Linux and Windows

Mac OS X

Ctrl + v

Command + v

Paste

Linux and Windows

Mac OS X

Ctrl + k

Delete to end of line

Linux only

Ctrl + d

Delete next character

Linux only

Ctrl + a

Move cursor to beginning of line

Linux only

Ctrl + e

Move cursor to end of line

Linux only

Ctrl + a

Select all the text in the edit box

Windows only

Clear the entire expression text field

Click the Clear button.

Attention: To erase an expression and make sure its previous contents no longer control an attribute, click the Edit button after clicking the Clear button.

Undoing back to an expression’s previous contents

The Edit button compiles an expression. If you’ve made an editing change and haven’t yet clicked the Edit button, you can click the Reload button to retrieve the previous expression. This restores the expression to the contents last present when you clicked the Create or Edit button.