REBOL Ultradit Syntax highlighting ??
[1/4] from: jasonic::panix::com at: 17-Nov-2001 19:47
http://www.ultraedit.com/
Not long ago I switched to UltraEdit-32, following on from another superb
program fookes' NoteTabPro
http://www.notetab.com/
Now merily tweaking syntax highlighting settings for Python, Actionscript,
XML,
Vanilla, REBOL. All building on other people's SYNTAX_HIGHLIGHTING.txt files
But I need some help with the finer regexp stuff. Any ideas how to:
Q1. How to assign a special UltraEdit color to REBOL definitions ?
newword: <= separate category including the ":"
Q2. How to make sure everything between { and } has its own color/category,
and also works when it runs on multiple lines, with a different color for
the contained text?
Q3. How to distinguish file, URL , Email and the family of REBOL protocol
schemes?
Q4. How to add background color highlighting for VID words?
thanks
- Jason
[2/4] from: pperkins:clark at: 18-Nov-2001 17:22
Jason :
To assign colors to various syntactic types in Ultraedit-32, open Ultraedit, and
go to the
Adanced/Configuration/Syntax highlighting menu, and see how other languages are
set up.
Then edit wordfile.txt (make a backup to be on the safe side, or edit it using
UE which
creates a backup automatically), copy one of the language blocks (say, for Perl)
and modify
it to correspond to the tokens, reserved words, etc that Rebol uses.
Go back and forth between the config menu and the wordfile.txt until everything
is to your
satisfaction. If you like, I can send you a copy of mine, which you can then
modify to
your taste.
Cheerio
Dave Perkins
Jason Cunliffe wrote:
[3/4] from: jasonic:panix at: 18-Nov-2001 19:48
> Go back and forth between the config menu and the wordfile.txt until
everything
> is to your
> satisfaction. If you like, I can send you a copy of mine, which you can
then
> modify to
> your taste.
Thanks David
I got that far as I said. Downlaoded and adapted others wordfile.txt syntax
highlighting files happily. But I think I need help with using UltraEdit
regexp to get REBOL word definitions to be recognized and displayed in a
custom color.
someword: <<< how do you detect and highlight any word who last character
is ":"
Does yours do this ?
If so I'd love to learn the trick.
As I read it, UltraEdit help says use delimiters and/or function defintions
to do what I want.
./Jason
[4/4] from: arolls:idatam:au at: 19-Nov-2001 16:47
If you send a copy to me, I'll put it on my web-site
http://anton.idatam.com.au/FreeEditors.html
Anton.