View previous topic :: View next topic |
Author |
Message |
octal
Joined: 05 May 2007 Posts: 7
|
Posted: Mon Oct 22, 2007 12:35 pm Post subject: Collapsed text icon - How to ? |
|
|
Hi,
I'm testing actively EControl Syntax Editor, and I would like to congratulate you for this great job.
I have a little question about Collapsed Text Icon. What format string to use?
I have defined rules for a simple basic language. For Subs/Functions I defined them as collapsible regions (folding enabled).
Folding is done correctly, but for Icon Text I do not get what I want.
What I want is to collapse the code of the procedure but keep all the line where it's declared as visible when user collapse the sub (like in Visual Studio .NET).
That means with
Code: |
Sub myProc(p1 as byte, p2 as byte)
my sub code goes here
my sub code goes here
my sub code goes here
my sub code goes here
End Sub
|
When folded actually it shows
What I want is
Code: |
Sub myProc(p1 as byte, p2 as byte)[...]
|
whatever the number of params is ...
I tried to put %SZ but it does not work (it shows the string %SZ).
I also tried %LZ but again does not work
Regards
octal _________________ http://www.pocketmt.com |
|
Back to top |
|
|
econtrol Site Admin
Joined: 09 Jun 2006 Posts: 202
|
Posted: Mon Oct 22, 2007 6:41 pm Post subject: |
|
|
Hello,
Format string for this case will be:
This format will show:
Code: | Sub myProc(p1 as byte, p2 as byte)[...] |
Michael. |
|
Back to top |
|
|
|