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
Yes, how do you do that?
Phil
***************************************************************************
>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
>John Lindal
Thanks for your response. I'll check it out.
Phil Hunt
***************************************************************************
>>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."
>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 |
> 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 | /--|--\ | | |
| |/ | \| | |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 |
+----------------------------------------------------------------+
>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
There are also commercially-available solutions if you're not averse to
paying $$$. Maybe somebody could post details on the commercial products...
-Roy Wood
: 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."
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.
> >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