[guispeak] TextPal 2.7 released

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: guispeak@xxxxxxxxxxxxx
  • Date: Mon, 27 Nov 2006 22:31:20 -0500 (EST)

http://www.EmpowermentZone.com/palsetup.exe

Version 2.7
Released November 27, 2006

Fixed crash when Escape is pressed to abort the Text Convert command,
Control+T.  Made the Recent Files command, Alt+R, list a file that was
automatically converted from another format on disk to a temporary text
file in memory.  Modified the Indent Levels command, Alt+I, to indicate
fractional levels, e.g., saying "2.5 levels" if there are 5 spaces and 2
spaces per level.

Combined the Export Mac and Export Unix commands into the Export Format
command, Alt+Shift+E.  Extract with Regular Expression is now assigned to
Control+Shift+E, which parallels Replace with Regular Expression,
Control+Shift+R.

Added two powerful commands:  Evaluate and Massage Operation.  Use the
Evaluate command, Control+E, to compute the result of a mathematical
expression on the current line.  The result is placed on the next line and
automatically read.  Available symbols include + for addition, - for
subtraction, * for multiplication, / for division, ** for exponentiation,
and % for modulus.  Almost any expression of the Ruby programming language
may be evaluated (explaining the possibilities is beyond the scope of this
documentation).  TextPal also offers a custom function for date
calculations.  Here are some examples:

(9.98 * 7) + 20
89.86

3 ** 4
81

7.0 / 3
2.33333333333333

7 / 3
2

7 % 3
1

date(2006, 12, 25)
Monday, December 25, 2006

date(2007, 11, 4, "Thursday")
Thursday, November 23, 2006

Since 7.0 is a decimal number, the result of the division is decimal.  On
the other hand, 7 is an integer, so the result is also an integer.  The
Christmas example took three numeric parameters for year, month, and day.
The Thanksgiving example took three numeric parameters for year, month,
week, and one string parameter for day.

Use the Massage Operation command, Control+Shift+M, to apply a saved set
of search and replace tasks to one or more files -- typically to massage
data or formatting in predictable ways.  TextPal prompts for the file
containing the regular expressions to apply.  Each task is defined by
three lines:  (1) a comment explaining the operation, (2) the search
expression, and (3) the replacement expression.  A blank line seperates
each task.  The current editing window should contain the list of files to
process, one per line.  The list could be typed manually or generated via
the Path List command, Control+Shift+P.  A sample operation file,
TrimLine.txt, may be opened from the Help menu.  It defines two tasks as
follows:

http://www.EmpowermentZone.com/palsetup.exe

Version 2.7
Released November 27, 2006

Fixed crash when Escape is pressed to abort the Text Convert command,
Control+T.  Made the Recent Files command, Alt+R, list a file that was
automatically converted from another format on disk to a temporary text
file in memory.  Modified the Indent Levels command, Alt+I, to indicate
fractional levels, e.g., saying "2.5 levels" if there are 5 spaces and 2
spaces per level.

Combined the Export Mac and Export Unix commands into the Export Format
command, Alt+Shift+E.  Extract with Regular Expression is now assigned to
Control+Shift+E, which parallels Replace with Regular Expression,
Control+Shift+R.

Added two powerful commands:  Evaluate and Massage Operation.  Use the
Evaluate command, Control+E, to compute the result of a mathematical
expression on the current line.  The result is placed on the next line and
automatically read.  Available symbols include + for addition, - for
subtraction, * for multiplication, / for division, ** for exponentiation,
and % for modulus.  Almost any expression of the Ruby programming language
may be evaluated (explaining the possibilities is beyond the scope of this
documentation).  TextPal also offers a custom function for date
calculations.  Here are some examples:

(9.98 * 7) + 20
89.86

3 ** 4
81

7.0 / 3
2.33333333333333

7 / 3
2

7 % 3
1

date(2006, 12, 25)
Monday, December 25, 2006

date(2007, 11, 4, "Thursday")
Thursday, November 23, 2006

Since 7.0 is a decimal number, the result of the division is decimal.  On
the other hand, 7 is an integer, so the result is also an integer.  The
Christmas example took three numeric parameters for year, month, and day.
The Thanksgiving example took three numeric parameters for year, month,
week, and one string parameter for day.

Use the Massage Operation command, Control+Shift+M, to apply a saved set
of search and replace tasks to one or more files -- typically to massage
data or formatting in predictable ways.  TextPal prompts for the file
containing the regular expressions to apply.  Each task is defined by
three lines:  (1) a comment explaining the operation, (2) the search
expression, and (3) the replacement expression.  A blank line seperates
each task.  The current editing window should contain the list of files to
process, one per line.  The list could be typed manually or generated via
the Path List command, Control+Shift+P.  A sample operation file,
TrimLine.txt, may be opened from the Help menu.  It defines two tasks as
follows:

Remove leading space or tab characters from each line
\n( |\t)+
\n

Remove trailing space or tab characters from each line
( |\t)+\n
\n

** To leave the list, click on the immediately-following link:-
** [mailto:guispeak-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** guispeak-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:guispeak-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** guispeak-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts:

  • » [guispeak] TextPal 2.7 released