Page 1 of 1

Problem with folding

Posted: 17 Jan 2011 11:54
by UScorp
Hi, sorry for my English.

I'm trying to create a custom syntax and I have a problem with folding blocks.

For example, my fold opened with "macro" and closed with "end". In my syntax file I have:
1_Id=macro
1_Begin=
1_End=end
1_EndBefore=
1_Section=
1_NoParentOfId=0
1_NotAlwaysEnded=0
1_ListItem=No

but in code like this:

Code: Select all

1  macro Test1()
2  
3    /* macro Test2() */
4  
5    MyFunc1();
6    MyFunc2();
7    
8  end;
Folding block started not from line 1, it begins with line 3, whatever it commented.
But if I use line comment ("//"), it work normal. What do I wrong?

Posted: 17 Jan 2011 16:04
by Rickard Johansson
Seems to be a bug. I'll fix it.

Thanks!

Posted: 17 Jan 2011 16:14
by Rickard Johansson
Hmm... seems it's already fixed in my next version (v7.10) 8)

Posted: 18 Jan 2011 03:28
by UScorp
OK. I'm waiting for new version 7.10.

Thanks.