From: Bill Currie 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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.