From: Simon Strandgaard Date: 2004-08-31T07:05:41+09:00 Subject: Re: [ANN] aeditor 1.7 On Monday 30 August 2004 20:39, Lothar Scholz wrote: > EH> Well, Eclipse can suit your needs, then. It fits all the editors in > EH> the same IDE. > EH> Except for toolbars or key-bindings, it's pretty much transparent > EH> which editor it is using. Perhaps, the text editor is not "one of the > EH> smallest" parts of and IDE but it surely needs not to be tied to it. > > Editor != Editor Widget > > I meant the text editing widget is one of the smallest parts (Lines Of > Code) but one of the most important. Even with a finished AEditor > widget you are miles away from it. Agree lines of code in AEditor is not impressive. It has taken me very long time to reach this point, where I can edit with my own editor. The first experimental versions which I wrote in C++ could show the text and was very poor at dealing with edit operations.. It was more an viewer than an editor. Even though its few lines of code.. its not something that one can write in a weekend. Lots of things must be considered and analysed carefully. 1) finding an appropriate undo/redo/macro system took quite some time. 2) figuring out how to support folding took forever. 3) syntaxcoloring+accelerated scrolling requires careful management of 4 layers of caching. 4) editing strategies, such as if the cursor should skip tabs or move through tabs, supporing different indentsize and tabsize... (took lots of time). 5) made regexp engine that can do multiline selection and skip over foldings and search through rectangular selections.. and deal with multiple encodings. This is just some of the things that has taken _long_ time, even though its relative few lines of code. I don't like your sentence "One of the smallest parts". I have not insulted your IDE.. why Lothar? -- Simon Strandgaard