* Implement new key binding architecture for Tedit actions, to make mappings more user-accessible. Includes new Buttons item on Tedit menu. See TEDIT-RELEASENOTES * Prompts for Tedit initial-window region based on document properties * More flexible Tedit abbreviations * Size + or - in Tedit character looks go to next available * Other bug fixes and code adjustments.
220 lines
35 KiB
Plaintext
220 lines
35 KiB
Plaintext
Medley Tedit Release Notes
|
||
2
|
||
|
||
4
|
||
|
||
1
|
||
|
||
TEDIT RELELEASE NOTES
|
||
1
|
||
|
||
4
|
||
|
||
By Ron Kaplan
|
||
This document was last edited in March 2025.
|
||
|
||
March 2025
|
||
Minor adjustments
|
||
Tedit now passes the HOSTSTREAM as an additional argument to an image object IMAGEBOXFN.
|
||
TEDIT.FORMAT.HARDCOPY now has an additional QUIET argument that suppresses the printing in the promptwindow of the number of pages and the destination file. The caller can update the window before or after the hardcopy.
|
||
The caller of TEDIT.MAP.OBJECTS can now specify in the COLLECT? argument the values that are to be collected. The possible values for COLLECT? are
|
||
OBJECT: The image objects are collected.
|
||
CH#: The character positions of the objects are collected.
|
||
VALUE: The values returned by applying function FN to each object are collected.
|
||
FIRST: The return is the list (ch# object value) for the first object that satisfies the predicate FN. Essentially a test to see if there are any such objects.
|
||
Any other non-NIL value: The (ch# object value) for the objects are collected, as before.
|
||
TEDIT.SELPROP now makes the SET property accessible, and values for the SHADE and SHADEHEIGHT properties can be changed.
|
||
Extended abbreviation facility
|
||
The interface to Tedit's abbreviation facility (the EXPAND action currently bound to ^x) has been extended in two ways. First, if an abbreviation substring in the text looks like a known character name (e.g Greek,Alpha) and is not otherwise in the TEDIT.ABBREVS list of defined abbreviations, then the key will be replaced by that character.
|
||
Second, the parser that extracts abbreviation keys from text now identifies some additional patterns. The entire word containing the caret/selection is recognized as a key in addition to the previously specified single character and specific multi-character selections Thus, DATE will be recognized as a key if ^x is typed with the caret anywhere inside it. Also, if the character in front of a key is a backslash \, expansions will be attempted for strings with and without that character, but either way the backslash will be replaced by the expansion. The backslash thus serves as a word-breaking character for an abbreviation-key that is tight against preceding text. This is consistent with the Latex convention for naming special characters that may be familiar to some potential users; a mapping for standard Latex names (e.g. \cup for ÿÿ |