Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!UCF1VM.BITNET!MARK From: MARK@UCF1VM.BITNET (Mark Woodruff) Newsgroups: comp.lang.modula2 Subject: Re: Re2: Clever way to deal with this? Message-ID: <90050.113443MARK@UCF1VM.BITNET> Date: 19 Feb 90 16:34:43 GMT References: <"90-02-14-14:03:50.03*UK4H"@DKAUNI2.BITNET> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Modula2 List Organization: University Of Central Florida Lines: 32 In article <"90-02-14-14:03:50.03*UK4H"@DKAUNI2.BITNET>, "JAE (Juergen A. Erhard)" says: > > >Mark, what do you mean with >> The actual characters are fixed in length, but <...> >???? >Do you determine the storage size at run time, too??? Yep. Each line for a given file has the same width, but the width can vary from file to file in the ring. The kicker is that the width of each line is determined at run time. > >Well, I'm writing an editor myself, and it uses some representation >similar to the dynamic ones the others layed out. If only I could upload >it onto this IBM here... > If you'd like a copy of mine, send me mail. It's in four modules: TextEd.Mod editor kernel, device independent TextIO.Mod simple line-oriented I/O EditIO.Mod full screen I/O Cursor.Mod PC BIOS dependent cursor shape routines It's about the tenth Modula-2 program I've ever written. It's BIG: around 3000 lines total (I'm not really sure why). The functions should be general enough to be ported to almost any sort of editor. >Juergen A. Erhard mark