Need help on Text Edit guts

Info-Mac discussion from 1984 - 2002.
Locked
User avatar
Info-Mac
Administrator
Posts:13716
Joined:December 21st, 1988, 11:00 am
Need help on Text Edit guts

Post by Info-Mac » August 27th, 1984, 9:23 pm

Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 UW 5/3/83; site uw-beaver
Path: utzoo!linus!decvax!ittvax!dcdwest!sdcsvax!sdcrdcf!hplabs!tektronix!uw-beaver!info-mac
From: info-mac@uw-beaver.UUCP
Newsgroups: fa.info-mac
Subject: Need help on Text Edit guts
Message-ID:
Date: Tue, 26-Jun-84 16:14:55 EDT
Article-I.D.: uw-beave.981
Posted: Tue Jun 26 16:14:55 1984
Date-Received: Sat, 30-Jun-84 05:54:01 EDT
Sender: daemon@uw-beave
Organization: U of Washington Computer Science
Lines: 34

From: Mike Schuster
Has anyone seen documentation on the following issues concerning
the Text Edit Manager:

1) When the text gets to big (e.g. free memory is exhausted),
TEPaste and TEKey (etc) do things to the text edit record and its
graph port that are not documented in the 9/28/83 guide. What
is the proper way to learn about and handle these cases?

2) How are the text edit globals 'tescrplength' and 'tescrphandle'
changed when the scrap gets large? I have noticed that disk io
occurs when a very large piece of text is TECUT or TECOPY'ed.
This too, does not seem to be documented.

3) When bringing up dialogs and alerts (especially after calling
ParamText to update static text) the text edit globals 'tescrplength'
and 'tescrphandle' seem to get changed. When else does this happen?

4) The hooks 'wordbreak', 'clickloop', and 'tewdbreak' are not documented.
What are the argument passing conventions to these routines? I know
I could use the Disassembler, but does anyone have some info?

5) TECalText seems to ignore the field 'TELength', sometimes. Is calling
NewHandleSize on 'hText' necessary and/or sufficient?

If no one has the answers, maybe some certified developer could ask Apple
for internal documentation on text edit? Needless to say, I will
release the SUMACC source for my text editor to as well as
a list of hints as soon as I can resolve these (and a few other) issues.
Thanks.

Mike
(mikes@cit-20, mikes@cit-vax)
-------
Locked