Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据闪烁光标的位置,我希望当前活动行具有不同的背景颜色,以明确我当前正在编辑哪一行。我怎样才能做到这一点?
使用 GtkSourceView 代替 GtkTextView 并设置highlight-current-line属性。
highlight-current-line