Welcome to the WinForms feedback portal. We’re happy you’re here! If you have feedback on how to improve the WinForms, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote
(*Update - Changed question to make it clearer).

EXAMPLE 01:
This sets the EditControl language to 'HTML' and changes the KeyWord font to be 'Color.Blue'.

this.EditControl.ApplyConfiguration(Syncfusion.Windows.Forms.Edit.Enums.KnownLanguages.HTML);

ISnippetFormat keyword = EditControl1.Language.Add("KeyWord");
keyword.Font = new Font(FontFamily.GenericMonospace, 10, FontStyle.Bold);
keyword.FontColor = Color.Blue;


PROBLEM 01:
This does not change the text font color BETWEEN < and  ,(it remains a dark-red/brown color).

SUGGESTION 01:
Knownlanguages.HTML needs the following to be added,
to allow changing the text font between '<' and '/>'
:
EditControl1.Language.Add("KeyWordText");

This would also need a new FormatType called 'KeyWordText'


EXAMPLE 02:
In the EditControl, HTML attribute keywords i.e. 'rel', 'type', 'href' are colored red:
<link rel="stylesheet" type="text/css" href="style.css" />


PROBLEM 02:
There is no way to change the color of ALL attribute keywords (there are many more examples in HTML).

SUGGESTION 02:
Knownlanguages.HTML needs the following added, 
to allow changing the text font of attribute keywords
:

EditControl1.Language.Add("AttributeKeyWordText");
This would also need a FormatType called 'AttributeKeywordText'


EXAMPLE 03:
In the edit-control, HTML the attribute TEXT is colored blue:
<link rel="stylesheet" type="text/css" href="style.css" /> 


PROBLEM 03:
There is no way to change the color of ALL attribute text.


SUGGESTION 03:
Knownlanguages.HTML needs the following added, 
to allow changing the text font of attribute text
: 

EditControl1.Language.Add("AttributeText");
This would also need a FormatType called 'AttributeText'


EXAMPLE 04:

ConfigLexem html = new ConfigLexem("html", "", FormatType.KeyWord, false);
html.FormatName = "KeyWord";
sfMainTextBox.Language.Lexems.Add(html);


PROBLEM 04:
This does not OVERRIDE the KeyWord text for the <head> tag.

SUGGESTION 04:
I would like to be able to change SOME KeyWords (e.g. Head, Body, etc) to OTHER colors, OVERRIDING the global language setting (e.g.
EditControl1.Language.Add("AttributeKeyWordText"); --> See SUGGESTION 02).


Thanks.