Re: Edita updated
- Posted by "Juergen Luethje" <j.lue at gmx.de> Jan 27, 2005
- 456 views
Pete Lomax wrote: > Version 0.0.4 26/01/2005 > > Alpha version. Still no file save, undo/redo... > > New since 0.0.3: > cursor + mouse handling largely rewritten I suppose the mouse cursor will later look like | when it's over the text area. <snip> > Juergen Luethje wrote: > >> Look how things are done in ConTEXT. > Thanks for the tip, I've installed a copy. [showSpecials option] > I've added this for 0.0.4 ) Nice! >> For general purpose usage, the only thing missing for me in ConTEXT is >> automatic highlighting of URLs and making them "clickable" ... > Interesting idea, this can be done. I've added a list of tokens > (ftp,http,mailto,...) to the new None.syn file so I'll be able to trap > that and process the rest of the url, so I can underline it. I haven't > written the doubleclick processing (as per MEditor) yet, so I'll do > this at the same time. Cool, thank you. I was afraid that it's hard to implement, and so I'm happy now to read that it can be done. >> Make everything as simple and straight-forward as possible. >> >> Concerning the SYN files, it's IMHO simpler when Edita defines its own >> comment character(s), which is/are the same for all SYN files, rather >> than defining individual comment character(s) in each SYN file. >> This also would avoid the following current disadvantage, that you >> mention in 'Euphoria.syn': >> "If the language does not support line comments then you can't comment >> the syn file!" > The "problem" I was trying to address is that in C/C++ -- is an > operator. If it is not in the operator list, Edita will use the > illegal colour (which it will on ++ in Euphoria files) > You may have a point, but I'll leave it alone for now. How about using ';' as character for line comments, like e.g. in INI files? >> Is it possible to add user-defined sections to a SYN file? People would >> like to add syntax higliting for Win32Lib or ARWEN routines, for global >> routines of their own often used private libraries etc. > Yes. Just add a section (use any name, it is only used on the Colour > window) starting in column 1 and a bunch of tokens (not in column 1). Very nice! Now I realized that Edita's syntax highliting is powerful, e.g. it highlights matching braces, using different colors for different levels. I also saw, that a choice in the Colours window (as well as in the Fonts window) is immediately applied for preview. Good job, Pete! If you'll keep such a high quality until Edita is mature, I'll probably throw ConTEXT out of my Window(s). <snip> >> I compiled Edita version 0.04 (25/01/2005), > Oops, I must have gotten out of sync somewhere. I took that info from the "readme.txt" file. The name of the regarding archive is "Z003.zip". > I've just packaged > 0.0.4 so there'll be a wee bit of confusion over version nos, but > no doubt 0.0.5 will be out fairly shortly. (not as if it matters > in something which can't save files). I didn't get round to trying > them, maybe tomorrow. No problem. I'll keep the files on the server for a while. Regards, Juergen