Snippets / malformed XML

SyntaxEditor for Windows Forms Forum

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

Add Comment

Please log in to a validated account to post comments.