
Below is a description of the commands in the Macros/Stata submenu.
| Macro Name | Description |
|---|---|
| do all | self explanatory |
| do part | based on the current location of the cursor, do code from the previous break (ie, *---) to the next one. If there is no previous or next break, code executes from the beginning or to the end of the file, respectively. |
| do selection | do the line that the cursor is on, or all lines that are at least partially selected. |
| set mode + format | this will switch the editor into "Stata mode", and re-do the indentation. |
| ~ cycle do-type | This is the macro called by the toolbar button described below; it's not intended to be invoked from the menus. |
| ~ setup-reset | This macro needs to be invoked once after installation. Doing it again will reset the syntax highlighting and many other appearance settings and shortcut keys. |
Below is a desciption of the toolbar "mode" button. Clicking the button cycles through the four modes. Not the greatest system, I know...
| Icon | Mode | Description |
|---|---|---|
![]() | do | Execute code with do command |
![]() | trace | Execute code with set trace on |
![]() | push | Besides executing in do mode, add code to the review pane. |
![]() | run | Execute code with run command |