folding and code explorer

Discuss syntax highlighting or submit new syntax files.
Post Reply
Dmitry D.
Posts: 11
Joined: 15 Mar 2011 08:55

folding and code explorer

Post by Dmitry D. »

Hello.

I have custom fold, for example
[Fold]
1_Id=+
1_Begin=
1_End=-
1_EndBefore=
1_Section=
1_NoParentOfId=
1_NotAlwaysEnded=
1_ListItem=ceMethod


and text

+ someid
dssd
fdfdf
-


In code explorer in methods list fold id «+» is added before someid.
when I type «;» after someid — «+» disappear.
Is it bug? If not — how I can make not showing fold id without typing «;»

Thanks.
User avatar
Rickard Johansson
Site Admin
Posts: 6628
Joined: 19 Jul 2006 14:29

Post by Rickard Johansson »

Would you mind showing us the entire *.syx file?
Dmitry D.
Posts: 11
Joined: 15 Mar 2011 08:55

Post by Dmitry D. »

Here is syntax file.

Idea is to do following block:
■ BlockName
   dfsdf
   sdf sd
here symbol Alt 255 as end of block

I want only a BlockName is visible as class in code explorer,
but the symbol ■ also appears.
In FoldBlock 2,3 adding : or ; after BlockName hides symbol ■

P.S. in [Fold] blocks ends are symbol "&#0160"; (left Alt + 255 on NumPad)


;{}

[Keywords]
level2=Delphi|RJEdit|
fold symbols=■|•|·|

[Options]
LineCommentA=//
Symbols=[]{}():'-+*/#|_=.,
HighlightUrl=1

[FoldOptions]
Separators=;.=({}'
AlwaysAllowNesting=1

[Block]
1_Name=«»
1_OnLine=0
1_AsString=0
1_Start=«
1_End=»
1_FirstOnLine=0
1_OnlyAfter=
2_Name=Important
2_OnLine=0
2_AsString=0
2_Start=´
2_End=`
2_FirstOnLine=0
2_OnlyAfter=

[Fold]
1_Id=•
1_Begin=•
1_End=
1_EndBefore=\in
1_Section=
1_NoParentOfId=0
1_NotAlwaysEnded=0
1_ListItem=ceClass
2_Id=■
2_Begin=
2_End=
2_EndBefore=\in
2_Section=
2_NoParentOfId=0
2_NotAlwaysEnded=0
2_ListItem=ceMethod
3_Id=·
3_Begin=·
3_End=
3_EndBefore=
3_Section=
3_NoParentOfId=0
3_NotAlwaysEnded=0
3_ListItem=ceMethod

Post Reply