When the language of the SyntaxEditor is set to Tsql the sql keywords are automatically converted to uppercase.
Is there a way to prevent this from happening?
I want to keep the coloring as it is.
I'm developing an application dealing with invoices and there are quite a few tables beginning with Order (OrderHistory, OrderItems etc).
For example OrderHistory:
The way it is now it first capitalizes OR so it first becomes: ORde
Then finally: ORDERhistory.
This is quite annoying and looks unprofessional.
Hi Obrestad,
I created a private case for this issue and have link your case to the developer issue(126531).
You will be notified by email when this issue is resolved.
Hello,
This issue has now been resolved in the latest service release.
Sincerely,
Valerie
Developer Support Supervisor - XAML
Infragistics
www.infragistics.com/support
Hi,
I'm using 17.2.20172.1000 and I have this issue with TSqlLanguage, is there a flag I need to turn on?
Thanks,
Dominik
Hello Dominik,
Thank you for posting tour forum.You just need to set 'AutoCasingMode' property of TextDocument to none.
Something like that :
this.SyntaxEditorTest.Document = new TextDocument() { AutoCasingMode=TextDocumentAutoCasingMode.None };
Also attached a sample application for your reference.
Please let me know if you need further assistance.
.EditorSample.zip