Re: coding text editor



llothar <llothar@xxxxxx> writes:
Perhaps you can manage to convince to author of the toy program you
use for posting to usenet that preserving the line (or even paragraph
structure) of the text would be more sensible than forcing it into the
'well-kown' Windows-invented 'comb structure' ...

Well i'm 99,99% sure that Google is using Linux or a BSD for there
non critical web servers,

Which part of 'some software you are using produces (ridicolously)
unreadable text (in a format 'originally invented' by MS Outlook)'
didn't you understand?

Independently of this, it ocasionally pays to become familiar with
something before declaring it to be obsolete for some weird reason.


Quoting from the linked paper (I have not read it entirely, because I
have no actual interest in text editing):

The more sophisticated sequence data structures keep the
sequence as a recursive sequence of spans of text. The line
span method keeps each line together and keeps an array or a
linked list of line pointers.

Yes but they are AFAIK pointer into the buffer. They are not C
strings.

|Texts are not span's of characters. They are
|structured in lines and we should preserve this.

This was what you wrote. The text I quoted from the paper talks about
doing exactly this.
.