Find out if the code snippet is inserted in syntaxEdit

Hi
Is there any way to find out if the code snippet is inserted in syntaxEdit? Is there an event? I want syntaxEdit to be reparsed after each insert (I’m using roslyn parser)

Thanks

Hi Peyman,

Right now there’s no event like this, we will add it shortly.
However as soon as editor’s content is changed due to the code snippet being inserted, it causes text reparsing after a short delay (200 milliseconds in case of RoslynParser).

Regards,
Dmitry

1 Like

Hi Peyman,

We have just pushed an update to NuGet - version 8.0.2, we’ve added an event CodeSnippetInserted to SyntaxEdit/TextEditor.

Regards,
Dmitry

1 Like

Hi Dmitry,
Great! Thanks so much