Rmk36 tedit fifth round (#1857)
* TMAX updates for compatibility with Tedit changes * DOC-OBJECTS changes for compatibility with Tedit changes * MODERNIZE update for Tedit split windows * Core Tedit files * IMAGEOBJ: Remove dependency on Tedit internals * WINDOW: Remove dependency on Tedit internal declaration Still strange that WFROMDS should have to branch on Tedit * WINDOWOBJ gets window of TTY process before the window of the stream of the TTY process So insert into Tedit works * TEDIT-CHAT: try to use TEXTSTREAM vs TEXTOBJ * Fix tab-initialization problem in SLIDES.TEDIT as reported by @nbriggs * TEDIT-CHAT: use TSTREAM rather than TEXTOBJ * Updates after lots more testing, particularly scrolling Some other files dragged along to avoid dependence on Tedit internals * Remove unwanted SAVE.SYSOUT * Addresses more end-of-file and empty-file display issues Try it again * TEDIT-DEBUG tracking other changes * Odds and ends * Adjust EOF selection and caret-scrolling on copy * More cleanup, plus fixing a few more ancient (Venue) glitches As usual, the problems have to do with the funky behavior of EOL's in the middle and end of the document. More abstraction and refactoring to get better control of this (I hope). * TEDIT-WINDOW: Scroll down of big objects Trying to fix what happens at the transition when scrolling down brings a big-object's top down in the window. Approach is to bring down the line above, which may make for a little jump. I hope that solves it. Scrolling up still needs some adjustment. * Eliminate junk at top of window after up/down scrolling of big objects BLTSHADE is OK there for scrolling, but not for redisplay after editing. In the edit case, the top of the pane above the last valid line is preserved. Scrolling still has the problem that the window can go blank at the first scroll that brings a tall object into the pane--still working on that. * Scrolling with tall lines should be more continuous * Another tweak for scrolling plus interface extension to TEDIT.MOVE and TEDIT.COPY, a little more on field menus * More robust strategy for field menu buttons Surround the field with prefix and suffix pieces with image objects that print the pre and post labels and shift the selection forward or backward into the field. Doesn't depend on inherited quirky logic in the selection line-scanner. * Field selection ignores right and middle clicks * A little more menu/selection tweaking You can't extend through fields and buttons * Added CUSTOMBUTTONEVENTFN to menu field buttons Also, menu buttons in general can't be deleted * A few more glitches, plus a little selection refactoring for buttons * Reduce flicker in pargraph menu margin bar * screen update glitch * DOC-OBJECTS, TEDIT-SCREEN: Fixes the HCFILES DOC-OBJECTS failure * TEDIT-BUTTONS: Field values should always be shown in the specified FIELDFONT * Abstracting the structure of the history lists cleanup, but mostly as a precursor to maybe doing a ring buffer of a specified length * TEDIT-FILE, a little font-reading cleanup * Include the files from rmk-39 that deal with the text/binary renamefile problem * TEDIT-PAGE addresses #1905 * Fix BUTTONSTART to STARTPC in Put/Get menu buttons * Use width of M as width of EOL--easy to select Also put in function call for potential kerning--needs eventual FONT support * Rename a few internal functions from TEDIT.-- to \TEDIT.-- * Doesn't make sense for a charlooks to not have a font * TEDIT-BUTTONS - Fix comment * Take out Tedit internals from \CARET.FLASH? Should have included this in fifth round long ago * TEDIT-FILE: use DEFAULTFONT for .sh files Easier to follow the layout * TEDIT-LOOKS: fix loadup order * tedit-exports.all Remove line-has-protection field Useless * Make sure that charlooks change as expected * External format for .sh files is UTF-8 * Better display of history information for debugging * Button changes: show document font families, better fields * TEDIT-WINDOW, remove extra truncated line with down-scroll * TEDIT-SELECTION: suppress line/paragraph selection for built-in menus Line/para selection would be reasonable for multi-line fields, but most menu lines have protected text that would behave inconsistently. So just suppress * Better support for potential kerning * Fix empty field value * Simplify ASCII translation code * Make sure headings have a default tab * Word boundary at character 1 * Remember that you specified a font class instead of a font For the charlooks menu, but also so that it is saved on a put * More items on the Family NWAY-button line * glitch * TEDIT-LOOKS: Better algorithm for Ascii translation * Charmenu remembers previous "Other" fonts, even if not installed * Fix initial piece index * Fix fontclass changes (again)
This commit is contained in:
50
sources/UFS
50
sources/UFS
@@ -1,12 +1,12 @@
|
||||
(DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "INTERLISP" BASE 10)
|
||||
|
||||
(FILECREATED "16-Sep-2023 09:22:55" {DSK}<Users>briggs>Projects>medley>sources>UFS.;2 78813
|
||||
(FILECREATED "10-Dec-2024 14:53:34" {WMEDLEY}<sources>UFS.;36 78539
|
||||
|
||||
:EDIT-BY "briggs"
|
||||
:EDIT-BY rmk
|
||||
|
||||
:CHANGES-TO (FNS \UFSCloseFile)
|
||||
:CHANGES-TO (VARS UFSCOMS)
|
||||
|
||||
:PREVIOUS-DATE "29-Mar-2022 11:29:33" {DSK}<Users>briggs>Projects>medley>sources>UFS.;1)
|
||||
:PREVIOUS-DATE "16-Sep-2023 09:22:55" {WMEDLEY}<sources>UFS.;33)
|
||||
|
||||
|
||||
(PRETTYCOMPRINT UFSCOMS)
|
||||
@@ -89,8 +89,6 @@
|
||||
(HTML . TEXT)
|
||||
(HTM . TEXT)
|
||||
(TEX . TEXT)
|
||||
(PS . TEXT)
|
||||
(PDF . TEXT)
|
||||
(DCOM . BINARY)
|
||||
(SKETCH . BINARY)
|
||||
(TEDIT . BINARY)
|
||||
@@ -797,8 +795,6 @@ update the map") (SETQ PAGES (RESTOREMAP STREAM))) (DELETED (* ; "the file disap
|
||||
(HTML . TEXT)
|
||||
(HTM . TEXT)
|
||||
(TEX . TEXT)
|
||||
(PS . TEXT)
|
||||
(PDF . TEXT)
|
||||
(DCOM . BINARY)
|
||||
(SKETCH . BINARY)
|
||||
(TEDIT . BINARY)
|
||||
@@ -1156,23 +1152,23 @@ update the map") (SETQ PAGES (RESTOREMAP STREAM))) (DELETED (* ; "the file disap
|
||||
(ADDTOVAR LAMA )
|
||||
)
|
||||
(DECLARE%: DONTCOPY
|
||||
(FILEMAP (NIL (8909 10462 (\UFSCreateDevice 8919 . 9284) (\UFS.CREATE.DEVICE 9286 . 10142) (
|
||||
\UFSOpenDevice 10144 . 10321) (\UFSCloseDevice 10323 . 10460)) (14725 51227 (\UFSOpenFile 14735 .
|
||||
18029) (\UFS.OPENP 18031 . 18528) (\UFS.RECOGNIZE.FILE 18530 . 19283) (\UFS.DIRECTORY.NAME 19285 .
|
||||
20028) (\UFSCloseFile 20030 . 21935) (\UFSGetFileName 21937 . 22136) (\UFSDeleteFile 22138 . 22678) (
|
||||
\UFSRenameFile 22680 . 23845) (\UFSReadPages 23847 . 24982) (\UFSWritePages 24984 . 26204) (
|
||||
\UFSTruncateFile 26206 . 27703) (\UFSDirectoryNameP 27705 . 28759) (\UFSEventFn 28761 . 29423) (
|
||||
\UFSGetFileInfo 29425 . 31707) (\UFS.CREATE.PROPS 31709 . 32062) (\UFSSetFileInfo 32064 . 33293) (
|
||||
\UFSGenerateFiles 33295 . 40175) (\UFS.NEXTFILEFN 40177 . 47815) (\UFS.FILEINFOFN 47817 . 49266) (
|
||||
\UFS.VALID.PROPP 49268 . 49560) (\UFS.REGISTER.GFS 49562 . 49817) (\UFS.UNREGISTER.GFS 49819 . 50402)
|
||||
(\UFS.ABORT.DIRECTORY 50404 . 50752) (\UFS.ABORT.CL-DIRECTORY 50754 . 51041) (\UFS.CLEANUP.GFS.TABLE
|
||||
51043 . 51225)) (51262 57946 (\UFSMakeUnixFormatName 51272 . 52293) (\UFSParseNameString 52295 . 52669
|
||||
) (\UFSParse-Directory 52671 . 53212) (\UFS.PARSE.BODY 53214 . 53759) (\UFS.ADJUST.HOST 53761 . 53920)
|
||||
(\UFS.FULLNAME 53922 . 55130) (\UFS.ADD.HOST.FIELD 55132 . 55492) (\UFS.REMOVE.HOST.FIELD 55494 .
|
||||
57164) (\UFS.HANDLE.RELATIVEDIRECTORY 57166 . 57944)) (58762 59375 (CHDIR 58772 . 59373)) (59447 60433
|
||||
(\DEVICEFILE.EOSERROR 59457 . 60431)) (60506 61743 (\UNVISIBLE.PAGED.REVALIDATEFILELST 60516 . 61361)
|
||||
(\UNVISIBLE.FLUSH.OPEN.STREAMS 61363 . 61741)) (61776 63402 (\UFSError 61786 . 63400)) (63446 65861 (
|
||||
\UFSGetFileType 63456 . 64057) (\UFSSetFileType 64059 . 64656) (\UFSeol 64658 . 65859)) (74508 75632 (
|
||||
\UFSGetPrintFileType 74518 . 74930) (\UFSGetFileTypeConfirm 74932 . 75380) (\UFSPrintTypeMenu 75382 .
|
||||
75630)) (75662 78500 (\UFStoOtherCopyMess 75672 . 77350) (\UFStoOtherRenameMess 77352 . 78498)))))
|
||||
(FILEMAP (NIL (8676 10229 (\UFSCreateDevice 8686 . 9051) (\UFS.CREATE.DEVICE 9053 . 9909) (
|
||||
\UFSOpenDevice 9911 . 10088) (\UFSCloseDevice 10090 . 10227)) (14492 50994 (\UFSOpenFile 14502 . 17796
|
||||
) (\UFS.OPENP 17798 . 18295) (\UFS.RECOGNIZE.FILE 18297 . 19050) (\UFS.DIRECTORY.NAME 19052 . 19795) (
|
||||
\UFSCloseFile 19797 . 21702) (\UFSGetFileName 21704 . 21903) (\UFSDeleteFile 21905 . 22445) (
|
||||
\UFSRenameFile 22447 . 23612) (\UFSReadPages 23614 . 24749) (\UFSWritePages 24751 . 25971) (
|
||||
\UFSTruncateFile 25973 . 27470) (\UFSDirectoryNameP 27472 . 28526) (\UFSEventFn 28528 . 29190) (
|
||||
\UFSGetFileInfo 29192 . 31474) (\UFS.CREATE.PROPS 31476 . 31829) (\UFSSetFileInfo 31831 . 33060) (
|
||||
\UFSGenerateFiles 33062 . 39942) (\UFS.NEXTFILEFN 39944 . 47582) (\UFS.FILEINFOFN 47584 . 49033) (
|
||||
\UFS.VALID.PROPP 49035 . 49327) (\UFS.REGISTER.GFS 49329 . 49584) (\UFS.UNREGISTER.GFS 49586 . 50169)
|
||||
(\UFS.ABORT.DIRECTORY 50171 . 50519) (\UFS.ABORT.CL-DIRECTORY 50521 . 50808) (\UFS.CLEANUP.GFS.TABLE
|
||||
50810 . 50992)) (51029 57713 (\UFSMakeUnixFormatName 51039 . 52060) (\UFSParseNameString 52062 . 52436
|
||||
) (\UFSParse-Directory 52438 . 52979) (\UFS.PARSE.BODY 52981 . 53526) (\UFS.ADJUST.HOST 53528 . 53687)
|
||||
(\UFS.FULLNAME 53689 . 54897) (\UFS.ADD.HOST.FIELD 54899 . 55259) (\UFS.REMOVE.HOST.FIELD 55261 .
|
||||
56931) (\UFS.HANDLE.RELATIVEDIRECTORY 56933 . 57711)) (58529 59142 (CHDIR 58539 . 59140)) (59214 60200
|
||||
(\DEVICEFILE.EOSERROR 59224 . 60198)) (60273 61510 (\UNVISIBLE.PAGED.REVALIDATEFILELST 60283 . 61128)
|
||||
(\UNVISIBLE.FLUSH.OPEN.STREAMS 61130 . 61508)) (61543 63169 (\UFSError 61553 . 63167)) (63213 65628 (
|
||||
\UFSGetFileType 63223 . 63824) (\UFSSetFileType 63826 . 64423) (\UFSeol 64425 . 65626)) (74234 75358 (
|
||||
\UFSGetPrintFileType 74244 . 74656) (\UFSGetFileTypeConfirm 74658 . 75106) (\UFSPrintTypeMenu 75108 .
|
||||
75356)) (75388 78226 (\UFStoOtherCopyMess 75398 . 77076) (\UFStoOtherRenameMess 77078 . 78224)))))
|
||||
STOP
|
||||
|
||||
Reference in New Issue
Block a user