There are various keyboard commands
for editing text, and the Expression Editor has
buttons for clearing and restoring the entire text of an expression.
ImportantIf 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 |
+c
Command+c
|
Copy
|
Linux® and Windows® Mac® OS X
|
+x
Command+x
|
Cut
|
Linux and Windows Mac OS X
|
+v
Command+v
|
Paste
|
Linux and Windows Mac OS X
|
+k
|
Delete to end of line
|
Linux only
|
+d
|
Delete next character
|
Linux only
|
+a
|
Move cursor to beginning
of line
|
Linux only
|
+e
|
Move cursor to end of
line
|
Linux only
|
+a
|
Select all the text in
the edit box
|
Windows only
|
Clear the entire expression
text field
Click
the Clear button.
ImportantTo 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.