Notepad3 icon indicating copy to clipboard operation
Notepad3 copied to clipboard

How exactly does Caret [prompt sign] configuration work and why does it ignore user's choices?

Open GitHubinatrix opened this issue 3 years ago • 0 comments

Under the

Settings > Customize Schemes... > Common Base > Caret

an user can set a Size and Foreground of that prompt flashing vertical sign |

But as my test have shown, I am unable to set it to color different than basic ones from the available palette, like red [i.e. #ff0000] or green [i.e. #00ff00]. If I try to choose from the palette brick red and something totally custom like light green-ish then it will be saved but ignored- and instead of that the Foreground color of

Settings > Customize Schemes... > Text Files

will be applied. And if I will choose for the Caret a "proper" Foreground color [e.g. #00ff00] and then try to change also the Background color of Text Files- then this | sign will not become hidden, because it will change its color to that of Foreground of Text Files. So you will say, that it is a good fail-safe**, such auto-detection of same colors, right?

But then my question are:

1] Why not allow users to pick any color for Foreground of Caret? What's up with this limits which ignores most of user's choices? Is it because of that auto-detection system- of it [I reckon] limited capabilities?

2] Why not allow users to pick any color or at least some colors for "Background" of Caret? It would create then a flashing indicator that works in F / B state instead of ON / OFF state like now. And if inept user would forget about it and choose for the Caret e.g. that red and green, then even a red or green Background used for whatever sub-scheme [i.e. file format group] would render it invisible only for half of time [thus work like now]

3] Despite this current fail-safe it is still possible to make the Caret totally invisible - a user must choose in the same color: Foreground and Background of e.g. Text Files and Foreground of Caret and of Highlight Current Line. And so: where is an automatic fail-safe for such inept users?

4] Alternatively maybe the Caret could by reworked much more- allowing for flashing of an underline sign [_] or a whole "box" []? Alike to what cmd.exe under the

Properties > Terminal > Cursor Shape

allows users to do?

** And if this is not a fail-safe feature but an ordinary bug- the it must have been around since at least Notepad2 4.2.25 x64 on Windows 7; up to Notepad3 5.21.1129.1 x64 Portable on Windows 10

GitHubinatrix avatar Jul 14 '22 21:07 GitHubinatrix