Cudatext: Suggestion for Find with Highlight all Matches on

Created on 7 Apr 2021  Â·  14Comments  Â·  Source: Alexey-T/CudaText

While typing the search string into the Find field it would be a nice visual feedback if the background of the edit field changed colour (ie to red) when there's no more fragments matching in the text (and of course back once there's is a match).

enhancement can be closed

Most helpful comment

gg

All 14 comments

So you are basically asking to bring back "Quick Search" from SynWrite? :D I'm totally onboard

As I have never worked with SynWrite I can't say what its Quick Search does :-)

@MiroslavMatas That's not what I mean, for two reasons. First the background of the input field doesn't change colour as I have suggested.

Secondly and MUCH MORE importantly, I actually used the Find in Lines plugin myself but it was, at least for me, a second-rate replacement for a fully integrated Incremental Search facility within Cud itself, which didn't exist a few months ago. It now does and I am much more happy with the Highlight all Matches functionality than I ever was with that plugin and I will certainly not go back to an inferior and not nearly as well integrated Find facility.

As I wrote it would be a very welcome visual feedback but if the powers-that-be think that's not necessary or too difficult or too much work then I will continue using the Cud Find as it is.

good suggestion, but currently edit-fields are themed, so code needs to override this somehow. ie code needs new 'property of edit-controls' for new color. maybe later.

We have "ui_active_border", could it help? You can change it for 0.2 sec and then set previous value, making it blink every time user change field and there is no match. Just a suggestion.

IMO blinking of that border will be 'stange' to user.

Well, the idea that the background should change colour is just one of many possible feedback options (the obvious for me).

Repainting the edit field frame with another colour (but only back to normal once there's again a match so as to avoid the blinking) would be another. Setting the edit field font to Italics/Bold would be a third. There are certainly others and I really don't mind what exact "feedback signal" is used so long as it's clearly visible.

I agree. The simplest way is just to change text color in the field as it happens with tab caption after making first change.

it was easier than I thought. done...

the only problem: WHAT themed color should we take for 'not found BG'? I took 'buttons, disabled state'.

Could you provide screenshot, please?

gg

beta is public- http://uvviewsoft.com/c/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jczanfona picture jczanfona  Â·  5Comments

xcme picture xcme  Â·  5Comments

Alexey-T picture Alexey-T  Â·  7Comments

JairoMartinezA picture JairoMartinezA  Â·  7Comments

EchedeyLR picture EchedeyLR  Â·  3Comments