Page 1 of 1

Set background color paragraph

Posted: 17.04.2025 12:11
by drit
Is it possible to also set the background color of the paragraph of a text file where caret is positioned?
So it is already marked (and can be changed) with "editor, gutter BG, lines with carets" color setting, but when i also want a different color for it in editor i can not find how to do it.
Attached screenshot of Cudatext and as a reference notepad++ in which this behavior exists.

Re: Set background color paragraph

Posted: 17.04.2025 12:59
by main Alexey
Try these options

"show_cur_line": true,
"show_cur_line_mininal": false,

It uses not separate color for paragraph, but the same color as for current line.

Re: Set background color paragraph

Posted: 17.04.2025 13:45
by drit
Thanks! This does indeed give the same functionality as notepad+ example.
Will loose the current line, but can live with that :)
Maybe in future both options (so color set for cur line and different color for whole paragraph).

Re: Set background color paragraph

Posted: 17.04.2025 15:27
by main Alexey
Maybe in future I will add it, if several users will ask for it, but no plans. Maybe a separate theme-color with default None, so by default it will work as today.

Re: Set background color paragraph

Posted: 20.04.2025 17:38
by main Alexey
it was implemented today. new UI-theme color was added.
will be in the next update.
from history.txt:

+ add: new UI-theme color: "editor, current line BG, other wrapped parts" - it's used when "show_cur_line":true & "show_cur_line_minimal":false, and caret is on a long wrapped line; if this color is 'None' (this is default), program will work like before using "current line BG" color.