* Fixed #2185 and #2173. * TEDIT-MENU TEDIT-PAGE Fix a few more bugs * TEDIT-STRESS--cleanup and harden a bit for future use * TEDIT-FILE: Allow putting of an APPEND file. There is still a guard against putting a readonly file--use COPYFILE instead. Provide message if won't put * Get proper insert caret looks before EOL
231 lines
39 KiB
Plaintext
231 lines
39 KiB
Plaintext
Medley Tedit Release Notes
|
||
2
|
||
|
||
4
|
||
|
||
1
|
||
|
||
TEDIT RELEASE NOTES
|
||
1
|
||
|
||
4
|
||
|
||
By Ron Kaplan
|
||
This document was last edited in April 2025.
|
||
|
||
April 2025
|
||
Window splitting
|
||
Previously, the splitting and unsplitting of Tedit window-panes was controlled by clicking in a region to the right of the document display, and that window-region was reserved even though splitting/unsplitting is an infrequent operation. Also, there was a little bit of confusion as to whether a click to the right was intended to select the last character or initiate a split. Window splitting and unsplitting is now determined by items in the middle-button Tedit menu. Clicking "Split Window" will split so that the line with the currently blinking appears at the top of a new window pane. Clicking "Unsplit Window" will eliminate the pane with the currently blinking caret (unless it is the top/primay pane). (The original region-based interface can be reinstalled by setting \TEDIT.OBJ.WIDTH to the desired window width, for example, a value of 18 defines a split region that is roughly a quarter of an inch wide.)
|
||
Color
|
||
Tedit now includes the basic infrastructure for color. The color of a selection can be manipulated with the COLOR attribute for TEDIT.LOOKS and TEDIT.GET.LOOKS, and the caret looks (the appearance of new typed characters) can be set by TEDIT.CARETLOOKS or DSPCOLOR. The default color is the atom BLACK. There is currently no menu interface for color. Whether or not color changes show up in a hardcopy file depends on the capabilities of the output image stream.
|
||
Miscellaneous
|
||
The USER.CM file when opening a Bravo-format file can be specified as the value of a new USER.CM property.
|
||
|
||
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.
|
||
A non-NIL text property DEFAULTPUTEXTENSION is used in the prompt for the destination file name, otherwise TEDIT is suggested for a formatted file as before and TXT is suggested for an unformatted file. This property is set to the empty string for Lisp source files.
|
||
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 ÿÿ |