With the release of MapTool 1.5 comes a new macro editor with syntax highlighting and code completion. You no longer need to close the editor to run a macro or save changes. The new editor features:
- Syntax Highlighting
- Code Completion with function description and usage
- Line Numbers
- Bracket Matching
- The Macro editor window is no longer modal meaning you can have several up at once
- You can apply changes and run the macro without close the editor
Bug Alert! There is a known bug that can strike if you load a campaign with an edit window open. For now, make sure all macro editor windows are closed when you load a campaign. We have a fix in place for the next release.
Here’s a preview of the new macro editor with syntax highlighting.
The code completion function brings up a list of functions with help on the parameters the function accepts. This is a work in progress but most of the functions are now documented.
There is also the ability to search within a macro using command keys, find/replace dialog, or adding a search bar to your editor. You can also go to a specific line number in your macro. You access these features from the main MapTool Edit menu.
The new editor is compliments of RSyntaxTextArea. You can find more information regarding this widget on the RsyntaxTextArea Github site.
Excited about the new functionality? Let’s discuss in the comments below or on one of our many social outlets.
MapTool Latest Release 1.7.0
You can download the new version of MapTool from the following links.
A JAR file version may be downloaded from the MapTool GitHub Repo and is only recommended for developers or other advanced users.