delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/03/04:45:21

From: Bill Currie <bill AT taniwha DOT tssc DOT co DOT nz>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: writing text editor..
Date: Mon, 03 Aug 1998 20:31:09 +1200
Organization: NetLink Wellington, New Zealand.
Lines: 21
Message-ID: <35C5754C.71510E34@taniwha.tssc.co.nz>
References: <01bdbd4c$48051a20$LocalHost AT default>
NNTP-Posting-Host: nzlu02.tssc.co.nz
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Finland wrote:
> 
> Well HELLo!.
> 
> i know that the world is full with text editors but still , i guess it wont
> do any bad.
> just few questions.
> 
> lets imagine that the user is writing the first line and then he presses
> enter (what should change line). So how can it be programmed?.

If you want examples, you can have a look at the source for emacs, vi,
joe and others, including my own editor
(http://www.tssc.co.nz/~bcurrie/ed.tar).  Don't worry, it *IS*
compressed, it's just six .zip files collected into one package (you
still have to grab zlib-1.04 and python-1.4 (and djpy.zip) for it to
build), which shows ONE way of doing the text buffer.

Bill
-- 
Leave others their otherness.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019