How can change the output from XmlNavigableSymbolProvider

SyntaxEditor for WPF Forum

Posted 8 years ago by Frank Link - CEO, FLK Consulting UG
Version: 16.1.0632
Avatar

Hi,

i would like to change the output from XmlNavigableSymbolProvider.

At this time i see e.g. "<table" in root selector.

But i must see more details e.g. "<table 'ms-formtable' from xml line in editor "<table class="ms-formtable" border=0 cellspacing=0 cellpadding=5 width="100%">

I have do this:

var xmlLanguage = new XmlSyntaxLanguage();
xmlLanguage.UnregisterNavigableSymbolProvider();
xmlLanguage.RegisterNavigableSymbolProvider(new MyXmlNavigableSymbolProvider());

It doesn't call my implementation.

Can you help?

regards

Frank

Comments (2)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Frank,

That should work fine.  I assume you inherited the XmlNavigableSymbolProvider class and overrode the CreateElementSymbol method?  If you can't sort it out, please make a new simple sample project showing this and email it to our support address.  In your email, reference this thread and rename the .zip file extension of what you send so it doesn't get spam blocked.  Thanks!


Actipro Software Support

Posted 8 years ago by Frank Link - CEO, FLK Consulting UG
Avatar

Hi,

thanks for response. But i find the error. I call it with wrong Classname. With the correct Classname it works very well.

regards

Frank

The latest build of this product (v24.1.3) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.