[Gambas-user] Editor / Highlight - creating fold points

Bruce bbruen at ...2308...
Wed Jan 15 01:56:33 CET 2014


(Same picture)

Setting Editor.Highlight to Gambas gives me 99% of what I want to
display these form defintions.  The missing 1% is "it would be nice to
be able to fold each definition (and  its' children) by matching {}'s.

The css highlighter style sort of does this, but gets it "wrong" as it
just folds to the first }. i.e. it doesn't understand heirarchical/tree
grammars.

I have read every help file available and have waded through the source
for these highlighters but don't understand how it is done. So,

1) is the highlighter, in general, capable of understanding
heirarchical/tree grammars?
2) is there a way, short of encoding an entire custom highlighter, to
set the folding points to say, any line beginning with {?

tia
Bruce
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GB3 Form Definition : Def.png
Type: image/png
Size: 45981 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20140115/d9e7d303/attachment.png>


More information about the User mailing list