🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #871

Reusing a Text Object

#871
From: Patrick Keng Seng Chin
Date: Sat, 29 Aug 1992 05:08
13 lines
1066 bytes
How does one reuse a single text object?
For example, several TextField objects in one window
will use one Text object. In the Concepts manual,
it says:
(Under the heading "Reusing a Text Object", page 9-34 of the NeXTStep 1.0
 Concepts manual)
"As an efficiency, a single Text object can be reused: It can be made
to draw in various Views or various locations within one View. In fact,
you can make use of a Window's field editor, the Text object that
the Application Kit uses to draw text within standard Kit objects. 
Using one Text object rather than several saves both startup time and memory."

-P.C.
Technical Details
Message-ID: <pchin.715064883@sfu.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!caen!uwm.edu!ogicse!news.u.washington.edu!uw-beaver!ubc-cs!newsserver.sfu.ca!sfu.ca!pchin

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!caen!uwm.edu!ogicse!news.u.washington.edu!uw-beaver!ubc-cs!newsserver.sfu.ca!sfu.ca!pchin
From: pchin@fraser.sfu.ca (Patrick Keng Seng Chin)
Newsgroups: comp.sys.next.programmer
Subject: Reusing a Text Object
Message-ID: <pchin.715064883@sfu.ca>
Date: 29 Aug 92 05:08:03 GMT
Article-I.D.: sfu.pchin.715064883
Sender: news@sfu.ca
Organization: Simon Fraser University, Burnaby, B.C., Canada
Lines: 13