Is it possible to highlight a line in a wxStyledTextCtrl and keep the
highlight visible when it does not have focus? Currently I am
highlighting a line using SetCaretLineVisible, but when the control
loses focus the highlight goes away. I would like to keep the line
highlighted with and without focus.
Thanks in advance,
--Mark
Is it possible to highlight a line in a wxStyledTextCtrl and keep the
highlight visible when it does not have focus? Currently I am
highlighting a line using SetCaretLineVisible, but when the control
loses focus the highlight goes away.
Because the caret flashing is stopped when focus is lost, so the line highlight follows the same pattern.
I would like to keep the line
highlighted with and without focus.
You can define one of the markers to use STC_MARK_BACKGROUND for its shape, and then set the marker for the line(s) you want highlighted.
···
On 12/11/09 10:27 AM, Mark Guagenti wrote:
--
Robin Dunn
Software Craftsman