When programming an interactive document or Math App, you frequently need to refer to a component by name. In the past, if you did not know or could not remember the name, you had to check the component’s properties to find it. Now, in Maple 18, there are much faster ways to insert a component’s name into your code.
•
|
Use command completion. Type % into the code editor and then invoke command completion. Maple populates the list with the names of all components in your document, and you can select the one you want.
|
•
|
Copy the component itself and paste it into a code region. Instead of pasting the component, Maple inserts the component’s name.
|
These new features are available in all code editing environments: the component properties, code edit regions, and in the startup code editor. For more information, see CodeEditRegion.