How to Highlight the current line?

Topics: Developer Forum
Mar 29, 2013 at 10:59 PM
Hello,

I am trying to highlight the currentline in the editor with a yellow backgrond color. I'm using the select features to do this but I endup having to change the forecolor to black to see the highlighted text. I want to keep my syntax coloring and highlight the current line with a yellow background. Does anyone have an idea as to how to do this?

thx in advance,

Frank
Mar 30, 2013 at 12:38 AM
Change the Caret.HighlightCurrentLine property to true. The default background color is yellow.
Mar 30, 2013 at 12:47 AM
aHouse,

thx, I needed to set the highlight feature on and wasn't sure how to do that, but you mentioning the Caret object guided me to the right place.

Frank