Reputation: 491
Depending on where the blinking cursor is, I would like the current active line have a different background color to make it clear which line I'm currently editing. How can I do this?
Upvotes: 1
Views: 443
Reputation: 57870
Use GtkSourceView instead of GtkTextView and set the highlight-current-line
property.
Upvotes: 1