Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Editing text>32K

0 views
Skip to first unread message

wor...@news.delphi.com

unread,
Nov 17, 1993, 6:16:37 PM11/17/93
to
Hi!

I know this is done by many programs, but I couldn't get hold of any
documentation referring to it. How does one create text zones that can
handle more than 32K of text? Do you have to create many TextEdit
records, and switch between them as the user scrolls through or types
text (which doesn't sound very easy), or is there a better way?

Thanks!
Olivier

Phil Hunt

unread,
Nov 18, 1993, 11:37:58 AM11/18/93
to


Yes, how do you do that?

Phil

***************************************************************************

John Lindal

unread,
Nov 18, 1993, 6:17:34 PM11/18/93
to
Postm...@sym.ecosoft.com (Phil Hunt) writes:

>I know this is done by many programs, but I couldn't get hold of any
>documentation referring to it. How does one create text zones that can
>handle more than 32K of text? Do you have to create many TextEdit
>records, and switch between them as the user scrolls through or types
>text (which doesn't sound very easy), or is there a better way?

On ftp.brown.edu there is a TCL class that allows you to edit any size
text block. Even if you don't use TCL, the code should help.

John Lindal

Phil Hunt

unread,
Nov 19, 1993, 10:14:19 AM11/19/93
to
>On ftp.brown.edu there is a TCL class that allows you to edit any size
>text block. Even if you don't use TCL, the code should help.

>John Lindal

Thanks for your response. I'll check it out.

Phil Hunt

***************************************************************************

Jon Wätte

unread,
Nov 19, 1993, 10:46:29 AM11/19/93
to

>>documentation referring to it. How does one create text zones that can
>>handle more than 32K of text? Do you have to create many TextEdit

>Yes, how do you do that?

You buy one of the available third-party libraries that do this.
There is a TCL class available for FTP called CPEditText which
handles long texts, but only for editors.

There is a MacApp class called... don't remember - for sale.

DataPak has a library called The Word Solutions Engine which does
all that styled edittext does and more, and is sold for $900 (slightly
buggy, but quite useable) - they also have a new, cross-platform
library in the works, expected to be more expensive. (The WSE does
handle WorldScript, but is written in 68k assembly - you only get
object code)
--
-- Jon W{tte, h...@nada.kth.se, Mac Hacker Deluxe --

"Practice random kindness, and senseless acts of beauty."

Jim Van Peursem

unread,
Nov 19, 1993, 12:03:32 PM11/19/93
to

>You buy one of the available third-party libraries that do this.
>There is a TCL class available for FTP called CPEditText which
>handles long texts, but only for editors.

>DataPak has a library called The Word Solutions Engine which does


>all that styled edittext does and more, and is sold for $900 (slightly

^^^^

The price is more like $1500. It was on sale for $900 for awhile, but
that's over with now.

>buggy, but quite useable) - they also have a new, cross-platform
>library in the works, expected to be more expensive. (The WSE does
>handle WorldScript, but is written in 68k assembly - you only get
>object code)

You can buy assembly source for $25000.

Don't forget bare-bones' editing package. It's a LOT more affordable
but can't do scripts. I don't remember the name, but you can get more
info by e-mailing bbe...@world.std.com.

--
| Jim Van Peursem - Dept of EE and CprE - Iowa State University |
| Ames, IA 50011 - internet: jvp@iastate or tools1.ee.iastate.edu |
| Just say no to Clinton's health care plan - we can't afford it |

Michael A. Mayer

unread,
Nov 19, 1993, 2:39:48 PM11/19/93
to
In article <2cebcl$l...@news.delphi.com>
wor...@news.delphi.com (WOR...@DELPHI.COM) writes:

> documentation referring to it. How does one create text zones that can
> handle more than 32K of text? Do you have to create many TextEdit

Try te32k.1.2 available from sumex-aim in the directory /dev/src.
If I remember correctly, all the author asks for is that you send
$10 to the World Wildlife Foundation.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| | |
| Michael A. Mayer | ma...@idefix.seas.upenn.edu |
| Chemical Engineering Department | |
| University of Pennsylvania | |
| 220 S. 33rd St. |\ /|\ /| | Tel : (215) 898-0054 |
| Philadelpia | \/ | \/ | | FAX : (215) 573-2093 |
| PA 19104 | /--|--\ | | |
| |/ | \| | |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Ramon M. Felciano

unread,
Nov 19, 1993, 5:13:17 PM11/19/93
to

Most of the editors mentioned so far deal with plain text only (as far
as I know). However, I've seen a number of applications that rolled
their own and get pretty good performance. The World Wide Web client
from NCSA comes to mind: >32K Styled TE with rulers and style sheets.

Sounds like an ideal "shared library manager" project... :)

Ramon

+----------------------------------------------------------------+
| Ramon M. Felciano felc...@summit.stanford.edu |
| Associate Director, SUMMIT (415) 723-9688 |
| Stanford University Medical Media and Information Technologies |
+----------------------------------------------------------------+

Aleksandar K Totic

unread,
Nov 19, 1993, 6:59:50 PM11/19/93
to
felc...@camis.stanford.edu (Ramon M. Felciano) writes:

>Most of the editors mentioned so far deal with plain text only (as far
>as I know). However, I've seen a number of applications that rolled
>their own and get pretty good performance. The World Wide Web client
>from NCSA comes to mind: >32K Styled TE with rulers and style sheets.

>Sounds like an ideal "shared library manager" project... :)

Mosaic does not have an editing text widget, just display. And it does not do
WorldScript. Its source code should be available in a few months. The
code should be pretty portable to other projects.

Aleks

--
Aleksandar Totic ato...@ncsa.uiuc.edu
Software Development Group National Center for Supercomputing Applications

Roy Wood

unread,
Nov 20, 1993, 9:58:05 AM11/20/93
to

If you have FTP access, connect to sumex-aim.stanford.edu and get the file
/info-mac/dev/src/te32k12.hqx. It's a plug-in replacement for TextEdit
that allows you to edit more than 32K of text. It's not perfect, but it's
better than nothing. Feel free to debug and improve it....

There are also commercially-available solutions if you're not averse to
paying $$$. Maybe somebody could post details on the commercial products...

-Roy Wood

Eric Cloninger

unread,
Nov 20, 1993, 11:14:33 AM11/20/93
to
Jon Wätte (d88...@dront.nada.kth.se) wrote:

: There is a MacApp class called... don't remember - for sale.

SuperTEView, I think. From ??? Sierra Software, maybe. The version
I saw was written in Object Pascal.

-Eric

--
Eric Cloninger er...@csn.org, er...@a.cs.okstate.edu
12459 W. Atlantic Ave. 303/763-8118 (Voice)
Lakewood, CO 80228 303/763-8262 (Fax/Data/ARA)
--
"In my opinion, there's nothing in this world,
Beats a '52 Vincent and a red-headed girl."

Alex Curylo

unread,
Nov 20, 1993, 1:23:35 PM11/20/93
to
>SuperTEView, I think. From ??? Sierra Software, maybe.

Yes. That is a MacApp 2.0 (not 3.0, not even worth bothering getting if
you're in 3.0, trust me here) interface to the Word Solution Engine. See my
previous posting for unflattering commentary on WSE. And unless you're in
MA2, SuperTEView is totally useless to you.

Lee Fyock

unread,
Nov 19, 1993, 3:25:04 PM11/19/93
to
In article <1993Nov18.1...@sym.ecosoft.com>,
Postm...@sym.ecosoft.com (Phil Hunt) wrote:

> >I know this is done by many programs, but I couldn't get hold of any
> >documentation referring to it. How does one create text zones that can
> >handle more than 32K of text? Do you have to create many TextEdit
> >records, and switch between them as the user scrolls through or types
> >text (which doesn't sound very easy), or is there a better way?
>
>
> Yes, how do you do that?

Check out the TE32K routines on sumex. TE32K is a set of source code
routines which (pretty much :-) replicate TextEdit, without the
32K limits on text size and destination rectangles.

Have fun!
Lee

----------------------------------------------------------------------
Lee Fyock PGP key available The MITRE Corporation
l...@mitre.org upon request Bedford, Massachusetts

0 new messages