Document.SyntaxLanguageChanged?

SyntaxEditor for Windows Forms Forum

Posted 12 years ago by Kelly Leahy - Software Architect, Milliman
Version: 4.0.0259
Avatar
Does Document.SyntaxLanguageChanged get fired?

I tried catching it and it doesn't seem to get fired, at least not on the build I'm using (259).

Can you describe the circumstances under which it gets fired by Document?

Thanks,

Kelly Leahy Software Architect Milliman, USA

Comments (1)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
It gets fired after you set SyntaxLanguage.IsUpdating to true, do changes and then set IsUpdating back to false.

If you are looking to know when a language is set to a document instead, use the SyntaxLanguageLoaded event instead.


Actipro Software Support

The latest build of this product (v2018.1 build 0342) was released 11 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.