Skip to content

Commit e43fb61

Browse files
authored
Rmk140 Sketch uses new font interfaces (#2358)
* Upgrade Sketch to new font interfaces * Tedit changes so that TEDIT.GETSYNTAX conforms to documentation * Remove RUBOUT interrupt * TEDIT-FNKEYS: uses keywords for action names * LLKEY: Change keybindings for DELETE and LOOKS * SEDIT-COMMANDS: Shift-DELELETE is wordelete.backwards * Sketch implements arrow keys
1 parent ba8d9b4 commit e43fb61

19 files changed

+2069
-2225
lines changed

library/sketch/SKETCH

Lines changed: 224 additions & 202 deletions
Large diffs are not rendered by default.

library/sketch/SKETCH-EDIT

Lines changed: 427 additions & 458 deletions
Large diffs are not rendered by default.

library/sketch/SKETCH-EDIT.LCOM

727 Bytes
Binary file not shown.

library/sketch/SKETCH-ELEMENTS

Lines changed: 483 additions & 688 deletions
Large diffs are not rendered by default.
-3.95 KB
Binary file not shown.

library/sketch/SKETCH.LCOM

411 Bytes
Binary file not shown.

library/tedit/TEDIT-COMMAND

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
(DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "INTERLISP" BASE 10)
22

3-
(FILECREATED "17-Jul-2025 00:24:49" 
4-
{DSK}<Users>kaplan>Local>medley3.5>working-medley>library>tedit>TEDIT-COMMAND.;165 19015
3+
(FILECREATED " 8-Nov-2025 10:03:19" {WMEDLEY}<library>TEDIT>TEDIT-COMMAND.;166 19030
54

65
:EDIT-BY rmk
76

8-
:CHANGES-TO (FNS \TEDIT.COMMAND.RESET.SETUP)
7+
:CHANGES-TO (FNS \TEDIT.COMMAND.FUNCTION?)
98

10-
:PREVIOUS-DATE "23-Mar-2025 15:27:20"
11-
{DSK}<Users>kaplan>Local>medley3.5>working-medley>library>tedit>TEDIT-COMMAND.;163)
9+
:PREVIOUS-DATE "17-Jul-2025 00:24:49" {WMEDLEY}<library>TEDIT>TEDIT-COMMAND.;165)
1210

1311

1412
(PRETTYCOMPRINT TEDIT-COMMANDCOMS)
@@ -137,15 +135,16 @@
137135
(FSETTOBJ TEXTOBJ EDITOPACTIVE NIL)))])
138136

139137
(\TEDIT.COMMAND.FUNCTION?
140-
[LAMBDA (TSTREAM CHARCODE) (* ; "Edited 23-Mar-2025 15:27 by rmk")
138+
[LAMBDA (TSTREAM CHARCODE) (* ; "Edited 8-Nov-2025 10:00 by rmk")
139+
(* ; "Edited 23-Mar-2025 15:27 by rmk")
141140
(DECLARE (SPECVARS TSTREAM CHARCODE))
142141

143142
(* ;; "If CHARCODE is a function in TSTREAM's read table, execute the function.")
144143

145144
(LET ((TEXTOBJ (GETTSTR TSTREAM TEXTOBJ))
146145
FN)
147146
(DECLARE (SPECVARS TEXTOBJ))
148-
(CL:WHEN [AND (EQ (\TEDIT.TTC FUNCTIONCALL)
147+
(CL:WHEN [AND (EQ (\TEDIT.TTC FN)
149148
(\SYNCODE (fetch READSA of (FGETTOBJ TEXTOBJ TXTRTBL))
150149
CHARCODE))
151150
(SETQ FN (CAR (fetch MACROFN of (GETHASH CHARCODE (fetch READMACRODEFS
@@ -303,7 +302,7 @@
303302
(GLOBALVARS || TEDIT.INTERRUPTS)
304303
)
305304
(DECLARE%: DONTCOPY
306-
(FILEMAP (NIL (2709 10263 (\TEDIT.COMMAND.LOOP 2719 . 9060) (\TEDIT.COMMAND.FUNCTION? 9062 . 10261)) (
307-
10264 18725 (\TEDIT.INTERRUPT.SETUP 10274 . 11921) (\TEDIT.MARKACTIVE 11923 . 12252) (
308-
\TEDIT.MARKINACTIVE 12254 . 12470) (\TEDIT.COMMAND.RESET.SETUP 12472 . 18723)))))
305+
(FILEMAP (NIL (2625 10278 (\TEDIT.COMMAND.LOOP 2635 . 8976) (\TEDIT.COMMAND.FUNCTION? 8978 . 10276)) (
306+
10279 18740 (\TEDIT.INTERRUPT.SETUP 10289 . 11936) (\TEDIT.MARKACTIVE 11938 . 12267) (
307+
\TEDIT.MARKINACTIVE 12269 . 12485) (\TEDIT.COMMAND.RESET.SETUP 12487 . 18738)))))
309308
STOP

library/tedit/TEDIT-COMMAND.LCOM

-126 Bytes
Binary file not shown.

library/tedit/TEDIT-FNKEYS

Lines changed: 532 additions & 484 deletions
Large diffs are not rendered by default.

library/tedit/TEDIT-FNKEYS.LCOM

621 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)