TextPad® (© 1992-2005 Helios Software Solutions) is a
powerful and sophisticated text editor/development environment.
It is recommended by Quality Forge as an alternative editor for working
with .smith scripts.
TextPad® Set Up
These instructions will set up TextPad® syntax coloring for the .smith language.
If TextPad® is already installed on your system please ignore
the first two instructions.
- Download the TextPad® installer from the TextPad®
download page.
- Install the software, following the directions in the installer.
- Ensure TextPad® is closed.
- Copy the "smith.syn" file from the "\QualityForge\TestSmith\System"
directory to the "\Program Files\TextPad 4\Samples" directory.
This file defines the .smith syntax for TextPad® coloring.
- Open TextPad®. Ensure no documents are open.
- Select the Configure/Preferences menu item. The Preferences dialog will appear.
- Click the "Document Classes" item (the actual text, not the [+] sign)
in the left-hand list. The Document Classes panel will appear.
- In the panel list click the dotted box twice - slowly. It will become an edit box.
- Enter the name "Smith" in the box, then press the Tab key
and click the "Apply" button.
- In the left-hand list click the [+] sign by the "Document Classes" item.
The list of document classes will display as a sub-list.
- Click the [+] sign by the "Smith" item. A sub-list of 5 items will appear.
- Select the 4th item, "Syntax". The Syntax panel will appear.
- Check the "Enable syntax highlighting" checkbox.
- In the "Syntax definition file" box select "smith.syn" from
the drop-down list, then click the "Apply" button.
- In the left-hand list select the 1st item, "Colors" in the "Smith" sub-list.
The Colors panel will appear.
- Choose colors for the different classes of item in a .smith file.
The items are specified as follows:
- Keywords 1: TestSmith Commands
- Keywords 2: TestSmith Control Flow Statements
- Keywords 3: TestSmith Command Argument Names
- Keywords 4: SET and SET Directives
- Keywords 5: TestSmith Properties
- Comments : Doc Comments (
#$)
- Comments 2: Regular Comments (
#)
- Strings: will apply only to strings enclosed in 'single quotes'
- Operators: =
` < > @ & | ^ : + - ! ;
- Click the "Apply" button, then click the "OK" button.
TestSmith Set Up
These instructions will make TextPad® the default text editor for
editing and printing
.smith files from TestSmith.
- Open TestSmith.
- Select the "Script/Print Setup..." menu item. The "TestSmith Print Setup"
dialog box will appear.
- Enter the full path of the Texpad.exe file, e.g.
C:\Program Files\TextPad 4\TextPad.exe
- Click the "OK" button.
TextPad® purchase
If you do decide to use TextPad® as an alternative
text editor for TestSmith files please be sure to
pay for it.
|