Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:Configuring an editor for syntax highlighting

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.

Article Metadata
Created: User:Copyeditor 1 (02 Jun 2008)
Last edited: hamishwillee (19 Jun 2012)

This topic describes how to configuring the EditPlus, UltraEdit, or Emacs editor software to support WidSets Scripting Language syntax.

EditPlus Configuration

Copy the helium_highlight_editplus.stx and helium_highlight_editplus.acp files from the WidSets SDK’s \docs folder to the main folder of EditPlus ( \Program Files\EditPlus 2\).

Run EditPlus and select Preferences from the program’s Tools menu.


1. Select Files > Settings & syntax from the Categories list in the Preferences dialog.

2. Click the Add button and fill in the form as illustrated:

Editplus preferences.JPG

3.You can also change the syntax colors and set other setting parameters as you wish.

4. Click Apply and return to the editing space. Support for WSL code files is now enabled.

UltraEdit configuration

To configure UltraEdit to support WidSets Scripting Language syntax:

1. Open Advanced > Configuration > Syntax Hightlighting dialog.

2. Click Open to start editing the syntax highlight configuration file.


3. Click OK in the Configuration dialog to close it.

4. Open helium_highlight_ultraedit.txt from the WidSets SDK's /docs directory.

5. Make a copy of your existing wordfile.txt. Normally it is located in C:\Program Files\IDM Computer Solutions\UltraEdit-32.

6. Scroll to the end of the file and search backwards for "/L", which is the starting mark of syntax highlight definition.

7. If the sequence number in your UltraEdit differs from number 10, you need to change the helium_highlight_ultraedit.txt file so that it will be the next number. If there are definitions with the same numbers or there are "empty numbers"” in between, syntax highlighting will not work.

8. When sequence numbers are OK, just copy all (Control-A) from helium_highlight_ultraedit.txt and paste (Control-V) it at the end of your wordfile.txt. Save the file (Control-S) and you are done. Now when you edit WSL(.he-prefixed) files, the syntax should be highlighted.

Emacs configuration

The Java-mode of Emacs provides rudimentary syntax highlighting for WidSets Scripting Language. Add the following line to your Emacs configuration file (usually .emacs) to use Java-mode for Helium script files:

 (setq auto-mode-alist (cons '("\\.he$" . java-mode) auto-mode-alist))
This page was last modified on 19 June 2012, at 04:20.
26 page views in the last 30 days.