Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150386 | Jan 5,2020 12:00 AM UTC | Jan 7,2020 05:09 PM UTC | WinForms | 3 |
![]() |
Tags: EditControl |
Hello All,
I'm having an issue where I load an external config and then try to
switch to a Known Language, I get the following error “The specified language cannot
be found."
Syncfusion.Drawing.BrushInfo(ColorTranslator.FromHtml("#ffffff"))
SnippetEditControl.Style =
EditControlStyle.Default
SnippetEditControl.Configurator.Open(DefaultThemeConfig)
SnippetEditControl.ApplyConfiguration("C#")
SnippetEditControl.SelectionTextColor = ColorTranslator.FromHtml("#bfdfff")
Later, when I try load a ‘KnownLanguages’ of 'Text' I get the error
Case
"Text"
SnippetEditControl.ApplyConfiguration(KnownLanguages.Text)
........
End Select
It seems the 'Configurator' forgets the 'KnownLanguages'. How do I bring these back?
Thanks
Andy
SnippetEditControl.Configurator.Reset()
SnippetEditControl.ApplyConfiguration(KnownLanguages.Text) |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.