Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!rutgers!ukma!pjl From: pjl@ms.uky.edu (Paul Linton) Newsgroups: comp.editors Subject: Simple editor question (I think) Keywords: Data Structure Message-ID: <13952@s.ms.uky.edu> Date: 3 Feb 90 05:24:07 GMT Organization: University of Kentucky Lines: 21 Could someone that either is familiar with and/or has written an editor tell me an answer to a real basic question: How would/do you 'store' the file in memory? I guess what i am asking is what is the data structure that would be used for a _very_ basic screen oriented editor. I am looking for a fairly efficient one, but also a fairly easy one to code for editing functions (adding/deleting/changing/copying lines/characters). Hmmm, I think I explained that enough, please e-mail replies (since I don't want to bore everyone else with such a basic question). Thanks! Paul -- Paul Linton University of Kentucky. ...!ukma!pjl pjl@ms.uky.edu, pjl@ukma.bitnet or (different machine) plinton@ukcc