Page 1 of 1

try to add code folding for //[of]

Posted: 18 May 2011 11:30
by fred
I try to add folding for this kind:
Fold_Id //[of]
Fold_End //[cf]

After the open fold there is a : and text like this:
//[of]:Gui
this a code folding section
//[cf]

It works if i add by hand a space like
//[of] :Gui
and empty Symbols in the Syntax Editor.
Is there a correct setting for what i try?
I can live without it so not a problem just a question.

Posted: 18 May 2011 13:29
by Rickard Johansson
Try adding

[FoldOptions]
Separators=:

and possibly add, at leased, ":" to symbols

Symbols=:

Posted: 18 May 2011 15:41
by fred
Thank Rickard,
I used this:

[FoldOptions]
Separators=:

In the Options, Syntax i found why it doesn't work, removed the /
Symbols=,;.:()[]=-*^%<>#

I can live with that :)

Perhaps for the help file.
On the file tab, context menu, "Reload current document " does not refresh the Syntax definition in use, close the file and open the file (recent files).