Article View: comp.sys.mac
Article #39929Re: TEKey and other word processing data structures
From: Leonard Rosenthol
Date: Sun, 26 Mar 1989 22:46
Date: Sun, 26 Mar 1989 22:46
29 lines
1732 bytes
1732 bytes
In article <28542@ucbvax.BERKELEY.EDU>, usenet@ucbvax.BERKELEY.EDU (USENET News Administration) writes:
> From: thom@dewey.soe.berkeley.edu (Thom Gillespie)
> Path: dewey.soe.berkeley.edu!thom
>
>I've been plauing with the miniedit program in LSC and I can't figure how
>to force a line feed. I've been tying TEKey('\$0D',TEH) and variations on
>'\0D' but the best I get is a square box non-printing indicator. Waht am I
>doing wrong.
>
Absolutely nothing! That square box is the character that resides in
the LF slot in most/all fonts. Remember that the Mac does NOT know about LF's
it is a foreign concept. A line break on the Mac is a CR. If you want hard
wrapped lines in TE instead of the standard soft-wrapped, you can try chaning
the crOnly fieldof the TERec.
> Is there a listing anywhere of the data structures used in other word
> processors like macWrite , Word , etc like the struct used in TextEdit.h?
>
The MacWrite file format is available from Claris and Word's from
MicroSoft.
ONE THING TO KEEP IN MIND - As per a recent Apple Tech Note - TEXTEDIT
IS NOT A WORD PROCESSOR!!
--
+--------------------------------------------------+
Leonard Rosenthol | GEnie : MACgician
Lazerware, inc. | MacNet: MACgician
UUCP: svc@well.UUCP | ALink : D0025
Technical Details
Message-ID:
<11116@well.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!amdahl!pacbell!well!svcReferences:
<28542@ucbvax.BERKELEY.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!amdahl!pacbell!well!svc From: svc@well.UUCP (Leonard Rosenthol) Newsgroups: comp.sys.mac Subject: Re: TEKey and other word processing data structures Summary: Mac doesn't know about LF's Message-ID: <11116@well.UUCP> Date: 26 Mar 89 22:46:51 GMT References: <28542@ucbvax.BERKELEY.EDU> Lines: 29