How to Highlight the current line?

Topics: Developer Forum
Mar 29, 2013 at 9:59 PM

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,

Mar 29, 2013 at 11:38 PM
Change the Caret.HighlightCurrentLine property to true. The default background color is yellow.
Mar 29, 2013 at 11:47 PM

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.