We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Case preservation vs Case Insensitive

Thread ID:





83311 Jun 24,2009 03:41 PM UTC Mar 16,2010 11:37 AM UTC WinForms 3
Tags: EditControl
John Brett
Asked On June 24, 2009 03:41 PM UTC


I'm trying to put together a simple syntax highlighting editor to replace a legacy product. The language I'm using (VBScript) is not case sensitive (in that 'CreateObject' == 'createobject'), however the legacy product we had preserved the casing of the function definition. So, if the user typed in 'createo' and used the editor to expand the function, it would insert 'CreateObject'.

I can see the ConfigLanguage.CaseInsensitive property, but this doesn't exactly give me what I'm looking for, which is a case-insensitive match but a case-preserving completion.

Is there a way I can achieve this?


Administrator [Syncfusion]
Replied On June 29, 2009 01:01 PM UTC

Hi John,

Thank you for your interest in Syncfusion Products.

I am afraid that I was not much clear with your requirement. Kindly refer to the provided videoclip which depicts that when typing any text ignoring case, it is automatically gets indentified and fills the exact match.


If this is your requirement, this can be acheived using ContextChoice feature available with our EditControl. Kindly refer to the sample browser sample in the below location that illustrates this:

{Installed Drive}:\Syncfusion\EssentialStudio\\Windows\Edit.Windows\Samples\2.0\Intellisense Functions\Context Choice and Prompt

If I have misunderstood your requirement, could you please let me know in detail so that I could work out in depth and provide you a better solution at the earliest?

Please let me know if any concerns.


John Brett
Replied On July 17, 2009 01:45 PM UTC

Thanks for pointing me at the appropriate sample. With some more detailed consideration of the code, I found out what I'd done wrong.

Thanks for your help.

Karikalan Natarajan [Syncfusion]
Replied On March 16, 2010 11:37 AM UTC

Hi John

We are glad to here that your requirement has been achieved. Thanks for you using Syncfusion products.

Karikalan N


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon