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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Issues in font colors set through Settings and methods

Thread ID:





4652 May 22,2003 04:05 PM UTC May 23,2003 12:52 PM UTC WinForms 1
Tags: EditControl
Hugh Potts
Asked On May 22, 2003 04:05 PM UTC

I have created my own language settings INI file. It works generally satisfactorily, but there are two issues, on which I hope to get help here: Question 1. I want to color-code numeric literal values (numbers). I haven't figured out how to do this, because I am using a Tag, and have no ENDCHAR to provide. The problem then is that entire remainder of the line is interpreted as part of the literal, and is colored as a literal, regardless of what it contains. Here is a sample of some of my Tag definitions for literal: [Tag4] ColorGroup=Literal BeginTag=0 EndTag=\ MultiLine=0 EscapeChar= [Tag5] ColorGroup=Literal BeginTag=1 EndTag=\ MultiLine=0 EscapeChar= I attach my Settings.INI file (called "csl.ini") Question 2. When I add one of my own custom indicators (which by coincidence happens to be called "breakpoint"), I try to highlight the line using white characters on a red background. The instructions I use are the following: ec.AddIndicator(l, "Breakpoint Indicator"); ec.SetCustomForeColor(l, White); ec.SetCustomBackColor(l, DarkRed); Unfortunately, the SetCustomForeColor instruction does not change the font colors to White - they retain their original coloring (set by the settings INI file). Any idea why the SetCustomForeColor fails to give me my White forecolor? And, any known workaround for this situation? Sincerely, Hugh Potts The AEgis Technologies Group, Inc. Tel. 512-615-3575

Hugh Potts
Replied On May 23, 2003 12:52 PM UTC

I got an answer from the Support Center. It goes as follows: [Updated on 5/23/2003 5:06:15 AM by: trampasn@syncfusion.com] Hi Hugh, For item number 2 (custom fore colors), this was a bug. I have fixed this for the next version of Edit, which is due out any day now. For the first item - I am looking into this. As you can see, there currently is not a good way to perform this. -Trampas


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

Live Chat Icon For mobile
Live Chat Icon