Print

How to synchronize key properties for all SyntaxEdit controls in the application?

If the application contains more than one instance of the editor, it is quite often desired to share their UI settings, and to provide the user with a centralized facility to manage them. Editor.NET provides SyntaxSettings designed to implement this task. Settings can be saved/loaded to the specific file and assigned to the editor with the following code:

SyntaxSettings GlobalSettings = new SyntaxSettings();
GlobalSettings.LoadFile("GlobalSettings.xml");
GlobalSettings.ApplyToEdit(syntaxEdit1);


Comment

No Very




Captcha Image