Posted 6 years ago by Miguel A.
Version: 18.1.0673
Platform: .NET 4.7
Environment: Windows 10 (64-bit)


I use the XML addon and load a large >100mb xml file with LoadFile. It takes a while but that's okay. When its loaded and I want to edit a value of a xmlnode it takes forever to display.

For example

<message text="Hello"/>

I select 'H' from hello and enter a new character. It takes up to 2 minutes for the editor to update. I thought it might be completion provider so I tried unregistering the following services but that didn't helped:

editor.Document.Language.UnregisterService<XmlCompletionProvider>(); ;
editor.Document.Language.UnregisterService<XmlQuickInfoProvider>(); ;

Any idea?

Comments (2)

Answer - Posted 5 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Miguel,

The parser will undoubtedly cause delays, along with the subsequent outlining logic trying to use parser data.  Perhaps try unregistering the parser and that might give you a good speed boost.

Actipro Software Support

Posted 5 years ago by Miguel A.

All I needed for these large files are syntax highlighting, but I saw that VS code and VS both disable syntax highlighting as well for large files so I just disabled it completely, now it runs fine.

The latest build of this product (v24.1.2) was released 28 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.