tags:

views:

171

answers:

1

Hello.

I am new to C#, and I am creating a notepad type of application. It's working good, but I would like to highlight the current line - meaning the current line where the cursor is or where the mouse has been clicked on would be highlighted in another color. I haven't worked with colors in C# so far, so any help on this would be appreciated.

+1  A: 

Check CodeProject articles for Edit controls.

Groo
Oh sorry. I forgot to mention I am using a rich text box for text-editing.I looked around CodeProject but I didn't find anything I need over there.
Leosco