Re: EE Editor suggestion for Carl White or David
- Posted by "Carl R. White" <C.R.White at SCM.BRAD.AC.UK> Jun 30, 1999
- 523 views
On Tue, 29 Jun 1999, Bernie Ryan wrote: ] Carl R. White ] I like using your version of David's EE Editor and use it alot. ] I have a suggestion, that Syntax Coloring and KeyWords be imported from ] an INI file. For example, the Editor would look at a file's extent when It ] is first loaded. I've thought about doing this several times, but much of the code is too hardwired to being Euphoria-oriented. For instance, the colouration routine for dealing with comments copes well with '--' because it's a single line colourer, but it would require a whole new routine to cope with multiline structures like "/* */" in C. As for altering the command set, there are in fact *two* files that deal with this. There's the standard 'keywords.e', and there's also the the file that deals with the auto-completion. The latter is inherently hard coded. There's the Run [F5] option, that's only coded to deal with .e, .ex, .ew and .exw. The context help and makehelp.ex both require Library.DOC to be in its current format, and the entire routine would have to be re-written to cope with other documents (if and when available). *Then* there's the Colouration options box. Half of the words in there are "Euphoria". :) All in all, it's just too big a task to make EE generic (at least in my opinion). It may be simpler to rewire it for one specific language at a time. Why, after all, do you think I didn't invent a "new" language for the .prj project files? ;) HTH, Carl -- Carl R White -- Final Year Computer Science at the University of Bradford E-mail........: cyrek- at -bigfoot.com -- Remove hyphens. Ta :) URL...........: http://www.bigfoot.com/~cyrek/ Uncrackable...: "19.6A.23.38.52.73.45 25.31.1C 3C.53.44.39.58"