* TEXTOFD: Property OBJECTBYTE returned instead of image objects This allows COMPARETEXT to work on TEDIT files * ATBL: Default reader environment uses *DEFAULT-EXTERNALFORMAT* instead of :XCCS constant * CMLEXEC: Fix FILETYPE property It had CL:COMPILE-FILE, but the directory had LCOMs. Changed to :FAKE-COMPILE-FILE. * FILEIO: single place for EOL specification Now only in SETFILEINFO, not separately in \DO.PARAMS.AT.OPEN * WINDOWOBJ: COPYINSERT now uniformly allows lists of objects It was incomplete. * COMPARETEXT: Now works for TEDIT files * EXAMINEDEFS: side-by-side attached SEDIT windows for comparing alternative definitions * OBJECTWINDOW: container for arbitrary image objects * ATBL: fixed typo * MODERNIZEP: pass shape and move to main window if PASSTOMAINCOMS * EXAMINEDEFS: Remove EXAMINEDEFS-REGION Replaced by equivalent functionality in new package REGIONMANAGER * TEDIT: adjustments to give caller control of window region * Revert "TEDIT: adjustments to give caller control of window region" This reverts commit aec12b41f0877d4d8b0864bdabc7cc412a313bc9. * Revert "EXAMINEDEFS: Remove EXAMINEDEFS-REGION" This reverts commit 0c670bbc564499f72c17bbfbc0eb24a7da4059b4. * TEDIT, TEDITWINDOW: Adjustments for propagating (typed) regions * EXAMINEDEFS: added EXAMINEFILES for looking viewing files side-by-side Fix titling glitch, add EXAMINEFILES * OBJECTWINDOW: minor cleanup * REGIONMANAGER: new package for managing typed regions, relative regions, and constellation regions * TEDIT-PF-SEE: commands for scrollable PF and SEE alternatives * COREIO: Fixed bug in \CORE.SETFILEINFO * COMPAREDIRECTORIES: Added CDBROWSER and associated reworking * COMPARESOURCES: Added CSBROWSER and associated reworking * COMPARETEXT: Reworked for TEDIT files Also for better window management
17 lines
3.9 KiB
Plaintext
17 lines
3.9 KiB
Plaintext
Medley TEDIT-PF-SEE2
|
||
|
||
4
|
||
|
||
1
|
||
|
||
TEDIT-PF-SEE
|
||
1
|
||
|
||
4
|
||
|
||
By:
|
||
Ron Kaplan
|
||
This document created in January 2022.
|
||
|
||
This tiny package adds alternatives to the PF and SEE commands that produce their output in scrollable read-only TEDIT windows rather than the unscrollable EXEC window. The new commands are tf (for t(edit)f(unction) and ts for t(edit)s(ee)
|
||
tf FUNCTION (FILELIST) (REPRINT) [command]
|
||
prints the definitions of FUNCTION that appear in the files in FILELIST, with a separate TEDIT allocated for each definition. If FILELST is not provided, then WHEREIS is used to locate the defintions, just as with PF. By default the definition characters are simply copied from the source file to the TEDIT stream, but if REPRINT is T the definition is read and then reprinted. This produces useful output for definitions that were not pretty-printed. Also, if FUNCTION is not provided, definitions for the last invocation will be reprinted.
|
||
ts FILE (WINDOW)
|
||
shows the contents of FILE in a scrollable read-only TEDIT WINDOW. This uses the function TEDIT-SEE (also used for the FILEBROWSER See command), which interprets any font changes if FILE is a Lisp source file.
|
||
TEDIT-PF-SEE loads the REGIONMANAGER package, and the default regions for tf and ts are of type PF-TEDIT and SEE-TEDIT respectively. The function SET-TYPED-REGIONS can be used to predefine the regions where the output for tf and ts will appear. |