PavelTorgashov / FastColoredTextBox

Fast Colored TextBox for Syntax Highlighting. The text editor component for .NET.
Other
1.21k stars 463 forks source link

Syntax Highlighting Color Change #233

Open simieboy24 opened 3 years ago

simieboy24 commented 3 years ago

Hi! I'm trying to change the color of my Lua highlighting but i can't seem to figure it out. My goal is for example to change the color if i type "local" from dark blue to purple, same for numbers, from purple to light blue for example. I am just a beginner and that's why i don't have experience.

Hexman768 commented 1 year ago

You would do something like this. The FastColoredTextBox has public properties that you can modify. In your case, you could create a colorbox or picturebox that the user could use to change the color of the line numbers. Honestly though, I am not sure what the exact name of the line color property is, you'll have to dig through the code to see if you can find it.