Code outlining keeps auto expanding

SyntaxEditor Web Languages Add-on for WPF Forum

Posted 9 years ago by Tim Scott
Version: 11.1.0545
Platform: .NET 4.0
Environment: Windows 7 (32-bit)
Avatar
Hi Support,
I am experiencing 2 issues:
1) Code outlining is not initially displaying
2) Code outlining is auto expanding in an un-expected way when I edit the document

I have a small project that does the below and can send this if needed.

Thanks,
Tim

To reproduce:
1) Copy the XML Getting started control example to a new WPF project/Solution - removing the schemaResolver section.

*************** Outlining Not displayed ***********
1) Start project and outlining is not initially displayed
2) edit the document and outlining is displayed

*************** Outlining Auto expansion issue ***********
To reproduce V1:
1) Once outlining has started (see issue 1 above) collapse the sections for hair and behavior
2) edit the text in an attribute of the mammal element (eg: add a space at the end of the word "terrestrial"
3) the collapsed sections will auto expand

To reproduce V2:
1) Once outlining has started (see issue 1 above) collapse the section for hair
2) add a space anywhere in the elements behavior and communal
3) the collapsed section will auto expand

Comments (2)

Posted 9 years ago by Tim Scott
Avatar
Hi All,

Solved by reading the documentation fully and adding the parse request dispatcher to my applciation starup...

Protected Overrides Sub OnStartup(ByVal e As StartupEventArgs)
...
AmbientParseRequestDispatcherProvider.Dispatcher = New ThreadedParseRequestDispatcher()
...
End Sub

Regards,
Tim
Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Tim,

Yes, when using the add-ons, please follow all the directions in the Getting Started documentation topic for the add-on, as they are very important. Glad that did the trick.


Actipro Software Support

The latest build of this product (v2020.1.1) was released 11 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.