Outline collapsing all the below sections...

SyntaxEditor for Windows Forms Forum

Posted 15 years ago by shareeef
Avatar
Hi,

We are using syntax editor for parsing eds files which are similar to ini but have fixed sections....I have created semantic parser for outline each sections. Whats happening is when I click to collapse a sections, all the below sections including the current section are getting collapsed.

For example, if I click on first section...I am getting only one section.

-File
blah
blah
-Device
blah1
blah2

When I click on "-" next to File, I am getting

+File Section

Where as my intention was to get
+File Section
-Device
blah1
blah2


Thanks

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Another user had similar issues with an INI file parser. The problem here is that SemanticDefaultParser's implementation really needs a start and end token that it can collapse on. For the next major release of SyntaxEditor we are planning on providing additional methods so that you can add your own advanced collapsing code that will not have to use SemanticDefaultParser. That was you can write logic to handle situations like this.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 10 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.