Article View: ont.micro.mac
Article #301Need help on Text Edit guts
From: info-mac
Date: Wed, 27 Jun 1984 15:17
Date: Wed, 27 Jun 1984 15:17
38 lines
2210 bytes
2210 bytes
Date: 26 Jun 1984 1027-PDT
Subject: Need help on Text Edit guts
From: Mike Schuster <uw-beaver!MIKES@CIT-20.ARPA>
To: info-mac@SUMEX-AIM.ARPA
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 <info-mac> 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)
-------
Technical Details
Message-ID:
<4649@utcsrgv.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utcsrgv!info-macShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utcsrgv.UUCP Path: arc1-ca.pugleaf.net!utzoo!utcsrgv!info-mac From: info-mac@utcsrgv.UUCP (info-mac) Newsgroups: ont.micro.mac Subject: Need help on Text Edit guts Message-ID: <4649@utcsrgv.UUCP> Date: Wed, 27-Jun-84 11:17:47 EDT Article-I.D.: utcsrgv.4649 Posted: Wed Jun 27 11:17:47 1984 Date-Received: Wed, 27-Jun-84 20:02:42 EDT Sender: peterr@utcsrgv.UUCP Organization: CSRI, University of Toronto Lines: 40