Edita updated

new topic     » topic index » view thread      » older message » newer message

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
delete, backspace, character&tab insert, home, end, return
indent/unindent
showSpecials (Ctrl+Shift+H) option added
database.e and win32lib sections added to syn/Euphoria.syn
syn load made much more robust.
new syn/None.syn file added
several integers were changed to be atoms.

http://palacebuilders.pwp.blueyonder.co.uk/euphoria.html

A modified copy of arwen is included.
Unpack to any directory and run edita.exw

Thanks to all who responded with bug reports and suggestions.
Some selected replies:

Tommy Carlier wrote:

>I just tried Edita, and I have to say it's very fast.
Thanks
>The only problem is that it crashes a lot. You should change all the
>variables that are used for storing pointers or handles from Windows:
>use atoms instead of integers.
I'm not a complete idiot. Parts of me are missing.

SNCR, these are fixed in 0.0.4


Juergen Luethje wrote:

>Look how things are done in ConTEXT. blink
Thanks for the tip, I've installed a copy.

>I also like a keyboard shortcut and/or toolbar icon for toggling between
>normal view, and showing the characters that are "really" in the file
>(i.e. making Space, Tab, Linebreak characters visible by showing special
>symbols for them). I hope this is understandable. smile
I've added this for 0.0.4 blink)

>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.
>
>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. 

>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). 
I've copied in sections for win32lib and database.e for 0.0.4
Feel free to rename, split up, or merge the sections, though a .syn
file from one machine won't work with a .clr file from somewhere else,
so start by pasting the .clr details into the Scheme section at the
end of the .syn, and deleting the .clr file, which is (over)written
one exit from the Colours window.

>I compiled Edita version 0.04 (25/01/2005),
Oops, I must have gotten out of sync somewhere. 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.

Regards,
Pete

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu