
Hello.
I want to make some kind of background preinitialization of syntax editor, so the first initialization takes less time.
Could you advise me the proper way of doing this?
/Alexander
Hello.
I want to make some kind of background preinitialization of syntax editor, so the first initialization takes less time.
Could you advise me the proper way of doing this?
/Alexander
Hi Alexander,
A main thing for the SyntaxEditor control itself is just getting the assemblies loaded into .NET (since they only load when first used). So you could reference some type in the SyntaxEditor assembly and that will in turn load the Shared, Text, SyntaxEditor assemblies in memory. After that it should be quick.
If you are using the .NET Languages Add-on, you might want to set up your project assembly and load references early on too. But per our samples that can also be done in a background thread.
Please log in to a validated account to post comments.