Code outlining keeps auto expanding

SyntaxEditor Web Languages Add-on for WPF Forum

Posted 13 years ago by Tim Scott
Version: 11.1.0545
Platform: .NET 4.0
Environment: Windows 7 (32-bit)
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.


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 13 years ago by Tim Scott
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

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
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 (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.