Discussion:
customize syntax highlighting BF2.2.2
Olivier Sessink
2012-05-08 18:14:22 UTC
Permalink
Hi Oliver,
I have made some progress on improving the javascript highlighting
for BF 2.2.2. I have been able to modify the .bflang2 files and get results
in the displayed code.
You mention in the sample.bflang2 file that the regex pattern matching
used by BF is not exactly the same as the full specs for regular
expressions.
Could you provide any further links or references to explain the details and
differences of how BF does the regex pattern matching? or does the section
in the sample.bflang2 file cover all possibilities? i.e. I need to just
re-read and
continue to test.
it covers just the basic possiblilities like the OR construction (foo|bar)
the character range [a-z]
the one or more +
the zero or more *
the zero or one ?
and that's it.

what else do you need? can you explain some of the javascript constructs
you like to match?

Olivier

b.t.w. can we discuss this on the bluefish-dev list so other people can
help as well? (cc to bluefish-dev)
clansco
2012-05-09 07:50:18 UTC
Permalink
On Tue, 08 May 2012 20:14:22 +0200
Post by Olivier Sessink
Hi Oliver,
I have made some progress on improving the javascript highlighting
for BF 2.2.2. I have been able to modify the .bflang2 files and get results
in the displayed code.
You mention in the sample.bflang2 file that the regex pattern matching
used by BF is not exactly the same as the full specs for regular
expressions.
Could you provide any further links or references to explain the details and
differences of how BF does the regex pattern matching? or does the section
in the sample.bflang2 file cover all possibilities? i.e. I need to just
re-read and
continue to test.
it covers just the basic possiblilities like the OR construction (foo|bar)
the character range [a-z]
the one or more +
the zero or more *
the zero or one ?
and that's it.
what else do you need? can you explain some of the javascript constructs
you like to match?
Olivier
b.t.w. can we discuss this on the bluefish-dev list so other people can
help as well? (cc to bluefish-dev)
Welcome.
You talk about BF-2.2.2,
it is important to use only the latest files from SVN:
javascript.bflang2 Revision: 7413,
all-javascript.bfinc and JQuery.bfinc Revision: 7307.
and also latest bflang2.bflang2
https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/data/bflang/

Roadmap, I think at:
- update to JavaScript 1.8
- Html5 APIs support
- ECMAScript 6 support
- DOM support
Libraries:
- Jquery, need update to 1.7 http://api.jquery.com/category/version/1.7/
- support for jQuery UI.
- for other libraries we need help of users.

I think you have other improvments in mind ?
--
Frédéric Falsetti
http://clansco.org
Loading...