
Where am I??
We have option ui_active_border
to help with that.
I believe CudaText is the only program still shows cursor after lost focus?
It will be nice to have something like ui_active_cursor.
Hi @Alexey-T
If I enter to Plugins->Options Editor... the carets remains but when I close the Dialog, the only caret that remains is the Editor one.
interesting. I will look at this issue and maybe at how to hide the cursor..
tried to hide the caret, did changes. not succeed. not easy to solve.
Several changes have been made for Find dialog and logic last days. Might this issue be fixed as well?
Nope, it must be changed in the core, and it's hard.
Some ideas on this:

we have the opt "ui_active_border" which highlights the active input with a dark-navy. it works for Find-what field. and for replace-with field. etc. (but not for main editor).
so why do we need an additional statusbar cell? it will be irritating.
Honestly, I don't know the right answer but for me it related to #2988. It now contains hotkey Alt+H for 'highlight all' but the same hotkey brings up Help menu while pressing in main editor. I've had such wrong pressing several times and realized it sometimes not obvious where I am, so I remember about this issue. Yes, we have a border here but it didn't help me :)
Is it easy to add 'ui_active_border_thickness=2' and 'ui_active_border_theme_param=SeparLine' for instance to have some control on it? I'm not insisting, just asking.
Alt+H for 'highlight all' but the same hotkey brings up Help menu
okay, I cleared the default hotkeys for Alt+H "Hi" and for "Syntax elements" too.
Is it easy to add 'ui_active_border_thickness=2'
I will write the new issue in GH about it.
@Alexey-T could you change cursor's color to bg_color when control doesn't have focus?
added OlehL's idea, it's better now!
let's test beta
http://www.uvviewsoft.com/c/
@akizuha @OlehL @kvichans @MiroslavMatas @Jairo-Martinez @xcme
ΠΠ°ΡΠ΅ΡΠΊΠ° Π² Π΄ΠΈΠ°Π»ΠΎΠ³Π΅ ΠΠΎΠΈΡΠΊ/ΠΠ°ΠΌΠ΅Π½Π° Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΈΠ·ΠΌΠ΅Π½ΠΈΠ»Π° ΡΠ²Π΅Ρ Π² Π½Π΅Π°ΠΊΡΠΈΠ²Π½ΠΎΠΌ ΠΊΠΎΠ½ΡΡΠΎΠ»Π΅

ΠΠΎ ΠΏΡΠΈ ΡΡΠΎΠΌ Π² Π°ΠΊΡΠΈΠ²Π½ΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΠΊΠ° ΡΡΠ°Π»Π° ΠΌΠΈΠ³Π°ΡΡΠ΅ΠΉ. ΠΠ°ΠΊ Π²Π΅ΡΠ½ΡΡΡ Π½Π΅ΠΌΠΈΠ³Π°ΡΡΡΡ? (Π ΡΠ°Π±Π΅ ΠΎΡΡΠ°Π»Π°ΡΡ Π½Π΅ΠΌΠΈΠ³Π°ΡΡΠ°Ρ)

I downloaded last beta, but everything looks the same.
works fine hereβ¦
appreciate this feature
@OlehL adjusted the color of unfocused caret; now it's better for 'ebony' and 'cobalt' themes.
@kvichans Opt 'caret_blink_en':false? I see it ignores controls others than main editor. and before it was so! do we need to apply this option to all editors?

ΠΠΎ Π²Π½Π΅ΡΠ΅Π½ΠΈΡ ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΡ (Π·Π° ΠΏΠΎΠ»Π³ΠΎΠ΄Π°!) ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΠΉ Π² edit-ΠΊΠΎΠ½ΡΡΠΎΠ»Π°Ρ Π΄ΠΈΠ°Π»ΠΎΠ³ΠΎΠ² ΠΊΠ°ΡΠ΅ΡΠΊΠ° Π½Π΅ ΠΌΠΈΠ³Π°Π»Π° (ΡΠ°ΠΊ ΠΆΠ΅ ΠΊΠ°ΠΊ Π² ΡΠ°Π±Π΅)
ΠΠΎ Π²Π½Π΅ΡΠ΅Π½ΠΈΡ ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΡ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΠΉ Π² edit-ΠΊΠΎΠ½ΡΡΠΎΠ»Π°Ρ Π΄ΠΈΠ°Π»ΠΎΠ³ΠΎΠ² ΠΊΠ°ΡΠ΅ΡΠΊΠ° Π½Π΅ ΠΌΠΈΠ³Π°Π»Π° (ΡΠ°ΠΊ ΠΆΠ΅ ΠΊΠ°ΠΊ Π² ΡΠ°Π±Π΅)
I didn't download latest beta and it blinks in my 1.120.3 and 1.117.6.
@xcme What is your option caret_blink_en?
@Alexey-T I like this feature but it doesn't look good for all themes I have. I think the color of inactive caret shouldn't be a constant but something that is related with background or other color. For example, if there's a light background it darkens the caret color a bit and vice versa. There are some algorithms to calculate if the color dark or light in the google and there should be a way to 'darken a bit' I think.
If you point me out where is the caret color stored I can do some tests.
@xcme What is your option
caret_blink_en?
Default value - true. Should I change it and try with false?
@xcme No, you should not.
I like "not blincked" caret and set the option to "false" a long time ago
@xcme I failed to calc proper color for unfocused caret. my code comment
if _IsFocused then
NCaretColor:= Colors.Caret
else
//I cannot find proper color of NCaretColor, to make unfocused carets invisible,
//tried several combinations of Colors.TextBG / Colors.TextFont,
//tried 'xor', 'xor $ffffff' with some values, but it didn't help.
//at least value 'Colors.TextBG xor Colors.TextFont' gives PALE caret color
//on many CudaText themes (default and dark themes).
NCaretColor:= Colors.TextBG xor Colors.TextFont;
I tried with this options ("caret_blink_en": false) and see an interesting behavior:

@xcme
@Alexey-T I don't think we have to completely hide it (btw, it was hided on my screen above). I think it should just change the color. Loot at my next picture:

The active caret (with valid color) is in the Find dialog but inactive carets are much more lighter. It would be great to have it the other way around. I mean that inactive carets should have pale color.
with last build (not public) I see

@xcme Pls test on last beta?
Sure, but give me some time. I will test.
Next iteration of fixes!! beta updated. now I tried to totally ignore caret paint code. seems better now? no even ramaining light block?
@kvichans @Jairo-Martinez @xcme @tmsg-gh
@Alexey-T, it looks fine except the cases with completely dark caret. But it only from my perspective, because I consider completely dark caret as a kind of "hole" (as on your screen, for example). It may look better with grey caret in that case but I'm not sure. What is the logic for the current behavior?
We replied with 3 sec interval. My comment was related with previous beta. Let me test the new one :)
Yeeeah! Now it's perfect. Now I agree with this solution when t completely hides the caret. Looks great!
The only question why does it have different caret color with caret_blink_en in different states?


pls post this color-issue to a new topic? this is overheated. I am closing it
Most helpful comment
Next iteration of fixes!! beta updated. now I tried to totally ignore caret paint code. seems better now? no even ramaining light block?
@kvichans @Jairo-Martinez @xcme @tmsg-gh