Skip to Content

TextPal 3.6 with more JAWS scripting & other support

May 1, 2007 • Darrell Shandrow Hilliker

I'm just taking this opportunity to remind all of you about the availability
of this excellent text editor, which I utilize on a daily basis to perform
the duties of my technical writing job.

TextPal, by Jamal Mazrui, is available at the following link:

See the announcement from Jamal below for details on the enhancements and
fixes found in this version.

Version 3.6
Released May 1, 2007

Fixed TextPal treating a document as having been modified after a search
and replace with no matches. Replaced the Word Wrap Toggle command with
Control+W to turn this setting on and Control+Shift+W to turn it off.
Control+Shift+J is the new key for joining (wrapping) lines with hard line

Modified the Yield command, Alt+Y, to operate on selected text rather than
all text when a selection is in effect. Made TextPal say "characters"
instead of "bytes" when reporting the size of a file or selection.
Adjusted the optional JAWS scripts so that PageUp and PageDown read the
current line after navigating by screen.

These scripts now require at least JAWS 6.2. They use the latest Homer
script library, available with other components of HomerKit at
The files Homer6.jsh, Homer6.jss, and Homer6.jsd, previously used by
TextPal, are now obsolete and may be manually removed from the user script
folder. They may also be left there without a resulting problem.

Changed enhanced navigation commands to be consistent with JAWS
conventions. Reassigned keys are as follows. Press Control+DownArrow or
Control+UpArrow to go to the next or previous paragraph, and then read it.
Press Alt+DownArrow or Alt+UpArrow to navigate by sentence.

Alt+RightArrow and Alt+LeftArrow are new commands to navigate by chunk. A
chunk is defined as a sequence of nonblank characters. It is usually, but
not always, the same as what Control+RightArrow or Control+LeftArrow
consider to be a word, since these keys stop at some punctuation marks.

In programming source code, press Alt+PageDown or Alt+PageUp to go to the
next or previous cdefinition of a class or function — including a sub or
method. Press Control+I or Control+Shift+I to go to the next or previous
change in indentation (developed for Python). Press Tab or Shift+Tab to
indent or outdent the current or selected lines by one level.

As before, Control+Shift+R replaces with a regular expression, and
Control+Shift+E extracts. Now Control+Shift+C counts matches of a regular
expression without changing text.

The Export Script Dictionary command has been replaced by the more
powerful, Refresh JAWS Text command, JAWSKey+F5, for updating a .jss
(script source), .jsd (script dictionary), or .jkm (key map) file. If the
current editing window contains a .jss file, its routines are sorted
alphabetically, with functions placed before scripts. If a .jsd file, the
dictionary entries are syncronized with the corresponding .jss file. If a
.jkm file, the key assignments are sorted by script name.

PHP has been added to the list of languages with preconfigured support. If
you have an existing TextPal version installed, it is necessary to delete
the TextPal.ini configuration file before installing this in order for the
PHP settings to become available. The default file location is C:\Program

More precisely, at least the [Compilers] section of this file should be
deleted. Within TextPal, you can do this by pressing Alt+Shift+M for
Manual Options, and then either deleting that section or the whole file
with Alt+Shift+D.

After launching the new TextPal, use the Pick Compiler command,
Control+Shift+F5, to choose PHP settings. TextPal assumes that php.exe is
on the Windows search path, so if that is not the case, you may wish to
add it by going to the System applet of Control Panel, and then inserting
(assuming the default directory target of the latest PHP for Windows
C:\Program Files\PHP;
at the beginning of the Path environment variable on the Advanced tab

The Compile command, Control+F5, would then perform a syntax check of the
PHP file in the current editing window. If an error is found, the cursor
moves to the start of that line. The error message spoken is abbreviated
to eliminate irrelevant output. If no syntax error is found, TextPal
simply says "Done!" To execute the file with the program associated with
its extension (usually .php), use the Run command, F5.


Categories: Uncategorized

Leave a Reply

Your email address will not be published.