Level1Coder
Level1Coder

Reputation: 491

GtkTextView: How to change background color of current active blinking cursor line?

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

Answers (1)

ptomato
ptomato

Reputation: 57870

Use GtkSourceView instead of GtkTextView and set the highlight-current-line property.

Upvotes: 1

Related Questions