• Login
Community
  • Login

How to see hex color on hover?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
15 Posts 4 Posters 3.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    ric12g
    last edited by Feb 2, 2022, 12:00 PM

    Hi everyone! Is there any way in Notepad ++, if I mouse-hover a hex code (eg # FF7A03) to preview what color is it?

    A 1 Reply Last reply Feb 2, 2022, 12:49 PM Reply Quote 0
    • A
      Alan Kilborn @ric12g
      last edited by Feb 2, 2022, 12:49 PM

      @ric12g

      THIS THREAD probably holds some interest for you.

      R 1 Reply Last reply Feb 2, 2022, 1:31 PM Reply Quote 1
      • R
        ric12g @Alan Kilborn
        last edited by Feb 2, 2022, 1:31 PM

        @alan-kilborn None of them works in 2022… any other suggestion? Thanks…

        A M 2 Replies Last reply Feb 2, 2022, 1:31 PM Reply Quote 0
        • A
          Alan Kilborn @ric12g
          last edited by Feb 2, 2022, 1:31 PM

          @ric12g said in How to see hex color on hover?:

          None of them works in 2022

          What does this mean?

          R 1 Reply Last reply Feb 2, 2022, 1:45 PM Reply Quote 0
          • R
            ric12g @Alan Kilborn
            last edited by Feb 2, 2022, 1:45 PM

            @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

            A M 2 Replies Last reply Feb 2, 2022, 1:46 PM Reply Quote 0
            • A
              Alan Kilborn @ric12g
              last edited by Feb 2, 2022, 1:46 PM

              @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?

              1 Reply Last reply Reply Quote 1
              • M
                Michael Vincent @ric12g
                last edited by Feb 2, 2022, 1:50 PM

                @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 from SCINTILLANOTIFICATION.DWELLSTART.

                If that sounds confusing to you, so does the “nOnE oF tHeM wOrKs In 2022 …” sound confusing to me.

                Cheers.

                1 Reply Last reply Reply Quote 1
                • M
                  Michael Vincent @ric12g
                  last edited by Feb 2, 2022, 1:55 PM

                  @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.

                  A R 2 Replies Last reply Feb 2, 2022, 1:56 PM Reply Quote 2
                  • A
                    Alan Kilborn @Michael Vincent
                    last edited by Feb 2, 2022, 1:56 PM

                    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

                    1 Reply Last reply Reply Quote 2
                    • R
                      ric12g @Michael Vincent
                      last edited by Feb 2, 2022, 2:02 PM

                      @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

                      M 1 Reply Last reply Feb 2, 2022, 2:07 PM Reply Quote 0
                      • M
                        Michael Vincent @ric12g
                        last edited by Michael Vincent Feb 2, 2022, 2:10 PM Feb 2, 2022, 2:07 PM

                        @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.

                        R 1 Reply Last reply Feb 2, 2022, 5:33 PM Reply Quote 1
                        • R
                          ric12g @Michael Vincent
                          last edited by Feb 2, 2022, 5:33 PM

                          @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/

                          P M 2 Replies Last reply Feb 2, 2022, 5:42 PM Reply Quote 0
                          • P
                            PeterJones @ric12g
                            last edited by Feb 2, 2022, 5:42 PM

                            @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.

                            R 1 Reply Last reply Feb 2, 2022, 5:46 PM Reply Quote 2
                            • R
                              ric12g @PeterJones
                              last edited by Feb 2, 2022, 5:46 PM

                              @peterjones Thanks!

                              1 Reply Last reply Reply Quote 0
                              • M
                                Michael Vincent @ric12g
                                last edited by Feb 2, 2022, 5:52 PM

                                @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.

                                1 Reply Last reply Reply Quote 0
                                1 out of 15
                                • First post
                                  1/15
                                  Last post
                                The Community of users of the Notepad++ text editor.
                                Powered by NodeBB | Contributors