How to see hex color on hover?
-
Hi everyone! Is there any way in Notepad ++, if I mouse-hover a hex code (eg # FF7A03) to preview what color is it?
-
THIS THREAD probably holds some interest for you.
-
@alan-kilborn None of them works in 2022… any other suggestion? Thanks…
-
-
@alan-kilborn The link you gave me has some plugins that do not work. Specifically, it has 3 plugins, of which 2 have expired and the third crashed notepad ++. So any other suggestion will be very useful… Thanks again
-
@ric12g said in How to see hex color on hover?:
Specifically, it has 3 plugins, of which 2 have expired and the third crashed notepad ++
What version of Notepad++ are you using?
-
@ric12g said in How to see hex color on hover?:
None of them works in 2022…
That is a 100% incorrect statement - it could not be further from the truth. The thread @Alan-Kilborn referred you to was literally created and discussed this past month in calendar year 2022 and if you read the thread you’ll see all the methods to work including one of them being updated while the thread was active (I know, since I did it).
Now a less inflammatory statement would be:
“None of these work a mouse hover over the color”
and that would be correct. But in that thread, you’ll also see a PythonScript which does the color schemes which could easily be adapted to include a
editor.callTipShow()
in a callback fromSCINTILLANOTIFICATION.DWELLSTART
.If that sounds confusing to you, so does the “nOnE oF tHeM wOrKs In 2022 …” sound confusing to me.
Cheers.
-
@ric12g said in How to see hex color on hover?:
2 have expired and the third crashed notepad ++
There isn’t a use by date on plugins, they don’t expire. They maybe become neglected, unmaintained and not updated for Notepad++ improvements. But again, did you take the time to try? Because one of the “expired” plugins that “crashed Notepad++” was updated 2 days ago to fix exactly that issue:
https://github.com/vinsworldcom/nppQCP/releases/tag/2.1.2.1
Cheers.
-
I think what @michael-vincent is saying without saying it is that @ric12g has to add some effort and quality into his postings in this thread, instead of just firing off some weird one-liners. :-)
Effort in = probably a good solution out
-
@michael-vincent This is exactly the plugin that crashes notepad ++. Of course I tried it, I’m a programmer, I can confirm it with a video that it doesnt work… That’s why I’m looking for a new update or anything else that works … Thanks again
-
@ric12g said in How to see hex color on hover?:
I can confirm it with a video that it doesnt work
Please do.
The “nulled666” version (and forked “chcg” version) does indeed crash Notepad++ since it has not been update in years which is precisely why I forked it, made some fixes and just updated for the Notepad++ 8.2.2 changes 2 days ago. I won’t say my coding is perfect, but the crash that occurs in the other versions did not occur for me in my updated version.
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11104#issuecomment-1027910982
Of course I tried it, I’m a programmer,
If that’s the case, why not contribute a fix to any of the solutions that already exist?
Cheers.
-
@michael-vincent Yes , thank you that’s a good idea… By the way, I have Notepad++ 8.2.1 . Where is 8.8.2? Thanks
https://notepad-plus-plus.org/downloads/ -
@ric12g said in How to see hex color on hover?:
@michael-vincent Yes , thank you that’s a good idea… By the way, I have Notepad++ 8.2.1 . Where is 8.8.2? Thanks
https://notepad-plus-plus.org/downloads/v8.2.2 is at release candidate 5 (essentially beta testing), so it’s only available from the temporary location linked from the that RC5 announcement. Once it (or some future release candidate) is made “official”, it will be put in the normal https://notepad-plus-plus.org/downloads/ location.
-
@peterjones Thanks!
-
@ric12g said in How to see hex color on hover?:
Where is 8.8.2?
Assuming you mean 8.2.2 - it’s in release candidate testing with a “breaking change” (for many plugins) that will allow >2Gb file editing. I thought that’s what this was all about?
I don’t think any of the solutions mentioned in the referenced thread “crash” 8.2.1 or lower Notepad++, they only affect Notepad 8.2.2 (upcoming) thus the scramble to “fix” them.
NppQCP will potentially be fixed and when that’s done I’ll merge the changes into my QuickColorPicker which doesn’t exhibit the 8.2.2 crash behavior now, but may not be capable of dealing with >2Gb files (I’ve only tested on Notepad++ theme files and simple XML docs that have the various color representation schemes the plugin looks for).
I apologize for sounding harsh in my previous comments. I didn’t think in the 15 minutes between @Alan-Kilborn 's first post to the previous thread and your first reply about “None of them works in 2022” there was sufficient time to read, explore and test any or all of the solutions offered. Add to that we didn’t find out what version of Notepad++ you were using - I just assumed it to be the 8.2.2 RC since that’s been top of mind all this week and you’re comment about them not working. I’ve been in a scramble to update plugins that I’ve forked and de-facto maintain as they were abandoned. Unlike you, I’m not a programmer, I just can tinker with existing code and make some fixes here and there. If you are indeed offering to help:
" thank you that’s a good idea…"
I’d be happy to accept pull requests on my fork - likewise, I’m sure @chcg would accept PRs on the NppQCP repo.
Cheers.