Snippets / malformed XML

SyntaxEditor for Windows Forms Forum

Posted 18 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 18 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 (v24.1.0) 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.