Mail Archives: djgpp/1997/10/10/14:19:44
Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk> wrote:
> Salvador Eduardo Tropea (SET) writes:
> >I can make a reformat thing, but in my case I don't need such a thing
> >because I look the screen when I write so I ca introduce the ENTER
> >without problems.
>
> <grin> Yeah, it is much easier if you just insist on people not being
> lazy :-)
:-)))
> But you have to admit, an automatic reformat would be very
> handy for writing documentation files...
The last editor have a (VERY STUPID) wrap words mode, it seems to work, I used
it to write mails and the text is wrapped correctly. The editor is supposed to
be available (I say supposed because until now I didn't tried to download it,
my connection is a disaster this week).
> >Perhaps I can add something like the editor I'm using right now
> >(Pegasus), it just inserts ENTER if I cross some column, but isn't
> >smart at all, if I delete things in the above line it doesn't reformat,
> >if I join 2 lines it never will cut the line again. That's relative
> >easy, perhaps is enough.
>
> If it is any help, I have some wordwrap code in my editor, that you are
> welcome to look at. It works very much like that, but with a slightly
> higher level control routine on top of it. I have one routine to split a
> line if it is too long, and another to wrap words from the next line
> onto the end of the current one, if there is room for them. It isn't
> then too hard to write a proper function that scans down through the doc
> from whatever line you changed, calling these two in turn to get a 100%
> correct reformatting...
Hmmm... may be, can you send me it?
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -