Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
Editor Language Properties
Using the 'Editor Language Properties' dialog, you can specify syntax highlighting properties for any of the programming languages that Enterprise Architect supports at installation.
Access
In the 'Preferences' dialog, select the 'Source Code Engineering | Code Editors' option and click on the button next to 'Syntax Highlighting Options'.
Ribbon |
Start > Workspace > Preferences > Preferences > select 'Source Code Engineering | Code Editors' option > click on the button next to 'Syntax Highlighting Options' |
Other |
In the Code Editor window, click on the toolbar icon | Syntax Highlighting Options |
Options
Panel |
Description |
See also |
---|---|---|
Language Panel |
The panel on the left of the dialog lists the languages for which you can set properties. At the top of the list are three non-language options:
Click on the required language in the list, to display the properties for that language:
|
Visual Styles |
Properties Panel |
Scroll through the property categories and individual properties for the language. You can collapse and expand categories as necessary, using the expansion box next to the category name (). When you click on a property name, an explanation of that property displays in the panel at the bottom right of the dialog. To define a property, click on the value field following the property name; depending on the type of property, either the field is enabled for direct editing or a drop-down arrow or button displays (as described for the Tagged Values window) so that you can select the values to define the property. Select or type in the required values. Use the Toolbar icons to:
|
Tagged Values |
Assign Keys to Macros |
In the 'Macros' category of the properties, you can assign (Ctrl+Alt+<n>) keystroke combinations to coding macros that you have created yourself in the 'Source Code Viewer'. When you click on the in a selected 'Macro' field, the 'Open Macro' dialog displays; this dialog lists the existing macros and, if a key combination has been assigned to a macro, what that key combination is. Click on the name of the macro and on the to assign the selected keys to the macro. |
Source Code Viewer |
Notes
Learn more