Systematically renamed internal Tedit files with \TEDIT
This includes some files in lispusers that are not in the Tedit core but had references to Tedit internal functions (TMAX, DOC-OBJECTS and some others) that have been renamed. (I hope to clean out those internal references, at some point.) A few additional changes are here to track the changes that were recently made in the unrenamed master branch. Going forward, I want to make future changes in this branch. Eventual plan is to introduce a Tedit package and do another systematic renaming of all \TEDIT.xxx functions to TEDIT::xxx, this is a first step. This does not yet include a backward-compatibility mapping of oldnames to newnames, as was discussed in the technical meeting.
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
(DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "XCL" BASE 10)
|
||||
|
||||
(FILECREATED "26-Dec-2023 11:56:52" |{WMEDLEY}<lispusers>TMAX>TMAX-XREF.;4| 23618
|
||||
(FILECREATED "16-Mar-2024 07:55:53" |{WMEDLEY}<lispusers>tmax>TMAX-XREF.;7| 23813
|
||||
|
||||
:EDIT-BY |rmk|
|
||||
|
||||
:CHANGES-TO (FILES TMAX)
|
||||
(FNS XREF.BUTTONEVENTINFN)
|
||||
:CHANGES-TO (VARS XREF.DISPLAY.METHODS)
|
||||
(FNS XREF.BUTTONEVENTINFN XREF.GETFN XREF.GET.TOOBJ)
|
||||
|
||||
:PREVIOUS-DATE "15-Jul-2023 10:49:41" |{WMEDLEY}<lispusers>TMAX>TMAX-XREF.;3|)
|
||||
:PREVIOUS-DATE "16-Mar-2024 07:52:25" |{WMEDLEY}<lispusers>tmax>TMAX-XREF.;6|)
|
||||
|
||||
|
||||
(PRETTYCOMPRINT TMAX-XREFCOMS)
|
||||
@@ -131,15 +131,15 @@
|
||||
(imageobjprop obj 'reference.by))
|
||||
stream)))
|
||||
|
||||
(xref.getfn
|
||||
(lambda (stream copy.object) (* |fsg| "20-Aug-87 14:59")
|
||||
(let ((window (|with| textobj textobj (car \\window))))
|
||||
(tsp.setup.fmmenu window))
|
||||
(let* ((xref.args (or copy.object (cdr (read stream))))
|
||||
(xref.obj (xref (car xref.args))))
|
||||
(imageobjprop xref.obj 'reference.by (or (cadr xref.args)
|
||||
(XREF.GETFN
|
||||
(LAMBDA (STREAM COPY.OBJECT) (* \; "Edited 16-Mar-2024 07:49 by rmk")
|
||||
(* |fsg| "20-Aug-87 14:59")
|
||||
(TSP.SETUP.FMMENU (\\TEDIT.PRIMARYW TEXTOBJ))
|
||||
(LET* ((XREF.ARGS (OR COPY.OBJECT (CDR (READ STREAM))))
|
||||
(XREF.OBJ (XREF (CAR XREF.ARGS))))
|
||||
(IMAGEOBJPROP XREF.OBJ 'REFERENCE.BY (OR (CADR XREF.ARGS)
|
||||
'|Value|))
|
||||
xref.obj)))
|
||||
XREF.OBJ)))
|
||||
|
||||
(xref.copyfn
|
||||
(lambda (image.obj source.stream target.stream) (* |fsg| "12-Aug-87 11:07")
|
||||
@@ -155,6 +155,7 @@
|
||||
|
||||
(XREF.BUTTONEVENTINFN
|
||||
(LAMBDA (XREFOBJ STREAM SELECTION RELX RELY WINDOW HOSTSTREAM BUTTON)
|
||||
(* \; "Edited 16-Mar-2024 07:55 by rmk")
|
||||
(* \; "Edited 26-Dec-2023 11:56 by rmk")
|
||||
(* \; "Edited 9-Nov-97 08:09 by rmk:")
|
||||
(* |fsg| "29-Jul-87 16:43")
|
||||
@@ -187,7 +188,7 @@
|
||||
(TEDIT.NORMALIZECARET HOSTSTREAM))
|
||||
(RETFROM (FUNCTION \\TEDIT.SELECT.LINE.SCANNER)
|
||||
(TEDIT.GETSEL HOSTSTREAM))
|
||||
ELSE (TEDIT.PROMPTPRINT STREAM "Reference has not definition!" T))
|
||||
ELSE (TEDIT.PROMPTPRINT STREAM "Reference has no definition!" T))
|
||||
NIL))
|
||||
(|Change Reference|
|
||||
(LET ((NEW.REFERENCE (GET.REF WINDOW STREAM)))
|
||||
@@ -250,15 +251,14 @@
|
||||
(t (concat "<Reference " (|fetch| objectdatum |of| obj)
|
||||
"/" reference.by ">"))))))
|
||||
|
||||
(xref.get.toobj
|
||||
(lambda (tag) (* |fsg| "13-Jul-87 11:13")
|
||||
(* |This| |function| |is| |called| |in| \a |specific| |context| |where| \a
|
||||
|reference| |must| |be| |displayed.| i\t |is| |called| |by| |an| xref |object|
|
||||
|and| |should| |return| |the| imageobject |that| |the| xref |object| |is|
|
||||
|referencing.|)
|
||||
(XREF.GET.TOOBJ
|
||||
(LAMBDA (TAG) (* \; "Edited 16-Mar-2024 07:49 by rmk")
|
||||
(* |fsg| "13-Jul-87 11:13")
|
||||
|
||||
(gethash tag (windowprop (|with| textobj textobj (car \\window))
|
||||
'tsp.code.array))))
|
||||
(* |;;| "This function is called in a specific context where a reference must be displayed. It is called by an XREF object and should return the IMAGEOBJECT that the XREF object is referencing.")
|
||||
|
||||
(GETHASH TAG (WINDOWPROP (\\TEDIT.PRIMARYW TEXTOBJ)
|
||||
'TSP.CODE.ARRAY))))
|
||||
|
||||
(tspobj.gettype
|
||||
(lambda (obj) (* |ss:| "27-Jun-87 16:36")
|
||||
@@ -476,14 +476,14 @@
|
||||
(FILESLOAD (COMPILED SYSLOAD)
|
||||
TMAX)
|
||||
(DECLARE\: DONTCOPY
|
||||
(FILEMAP (NIL (3650 11069 (XREF 3660 . 4227) (XREFP 4229 . 4616) (XREF.DISPLAYFN 4618 . 5052) (
|
||||
XREF.IMAGEBOXFN 5054 . 5706) (XREF.PUTFN 5708 . 5954) (XREF.GETFN 5956 . 6430) (XREF.COPYFN 6432 .
|
||||
7042) (XREF.BUTTONEVENTINFN 7044 . 10042) (XREF.WHENDELETEDFN 10044 . 10618) (XREF.TEDIT-TO-TEX-FN
|
||||
10620 . 11067)) (11070 13054 (XREF.GET.DISPLAY.TEXT 11080 . 12364) (XREF.GET.TOOBJ 12366 . 12903) (
|
||||
TSPOBJ.GETTYPE 12905 . 13052)) (13055 19429 (UPDATE.XREFS 13065 . 15448) (INSERT.REF 15450 . 15862) (
|
||||
GET.REF 15864 . 16919) (GET.REFERENCE.BY 16921 . 17908) (TSP.LIST.REFS 17910 . 18362) (TSP.GET.INCODE
|
||||
18364 . 19018) (TSP.GETCODEVAL 19020 . 19242) (TSP.PUTCODE 19244 . 19427)) (19521 20492 (
|
||||
XREF.ADD.DISPLAYFN 19531 . 20045) (XREF.GET.DISPLAYFN 20047 . 20490)) (20552 22914 (
|
||||
NGROUP.XREF.DISPLAYFN 20562 . 21522) (NGROUP.XREF.DISPLAY.TEXT 21524 . 22160) (NOTE.XREF.DISPLAYFN
|
||||
22162 . 22912)))))
|
||||
(FILEMAP (NIL (3691 11273 (XREF 3701 . 4268) (XREFP 4270 . 4657) (XREF.DISPLAYFN 4659 . 5093) (
|
||||
XREF.IMAGEBOXFN 5095 . 5747) (XREF.PUTFN 5749 . 5995) (XREF.GETFN 5997 . 6526) (XREF.COPYFN 6528 .
|
||||
7138) (XREF.BUTTONEVENTINFN 7140 . 10246) (XREF.WHENDELETEDFN 10248 . 10822) (XREF.TEDIT-TO-TEX-FN
|
||||
10824 . 11271)) (11274 13249 (XREF.GET.DISPLAY.TEXT 11284 . 12568) (XREF.GET.TOOBJ 12570 . 13098) (
|
||||
TSPOBJ.GETTYPE 13100 . 13247)) (13250 19624 (UPDATE.XREFS 13260 . 15643) (INSERT.REF 15645 . 16057) (
|
||||
GET.REF 16059 . 17114) (GET.REFERENCE.BY 17116 . 18103) (TSP.LIST.REFS 18105 . 18557) (TSP.GET.INCODE
|
||||
18559 . 19213) (TSP.GETCODEVAL 19215 . 19437) (TSP.PUTCODE 19439 . 19622)) (19716 20687 (
|
||||
XREF.ADD.DISPLAYFN 19726 . 20240) (XREF.GET.DISPLAYFN 20242 . 20685)) (20747 23109 (
|
||||
NGROUP.XREF.DISPLAYFN 20757 . 21717) (NGROUP.XREF.DISPLAY.TEXT 21719 . 22355) (NOTE.XREF.DISPLAYFN
|
||||
22357 . 23107)))))
|
||||
STOP
|
||||
|
||||
Reference in New Issue
Block a user