Snippets / malformed XML

SyntaxEditor for Windows Forms Forum

Posted 14 years ago by tobias weltner
Avatar
if there is only one snippet in the snippet folder that contains invalid xml, snippets are no longer working i.e. the editor does not show any snippet anymore. could it be that if a malformed xml is encountered, the routine exits prematurely?

Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Good catch... the next maintenance release now has a try...catch around the code that loads each snippet within the CodeSnippetFolder.Refresh method. This will allow bad XML snippets to be skipped without affecting the folder load.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.