nppqcp icon indicating copy to clipboard operation
nppqcp copied to clipboard

Not always highlighting

Open ArkadiuszMichalski opened this issue 10 years ago • 8 comments

Step to reproduce (NPP 6.8.8 and qcp 2.0):

  1. Open some file like HTML
  2. Put hex color (like #F5DEB3) somewhere in the text 3, Sometimes color did not receive highlighting

Its really strange because in small file all works correct, problem exist when I open a little larger files. In some case I see that when I scroling file then this highlighting (underline) appears and disappears depending on scrolling position. But in more larger files this underline completely does not appear.

Above problem not exist in CSS file (small and large), I always get highlighting for all color value without any problem.

Now I see that this highlighting completely not work in .js file? It's intentional? Of course I mean only highlighting because opening color palette by clicking on color it works correctly in all these mentioned cases.

ArkadiuszMichalski avatar Dec 29 '15 19:12 ArkadiuszMichalski

I can not reproduce it with a new HTML file. If the color code was followed by invalid chars, it will not be recognized as a color code. Please attach an example for me to investigate this problem.

nulled666 avatar Jan 02 '16 16:01 nulled666

OK, I make some research:

  • download fresh NPP, remove all plugins and instal only NppQCP.dll
  • for HTML test page I save this page (via browser - only HTML file)
  • I open this saved page in NPP, put for example this color #F5F5DC somewhere (maybe after line 669), and see that color has highlighting, but when I scroll document down (but still see this color) then color loses highlighting, when scroll document up highlighting returns.

The further away I put the color in the document then the less I need to scroll document to lose highlighting for my color.

ArkadiuszMichalski avatar Jan 06 '16 02:01 ArkadiuszMichalski

confirmed. might be a redraw problem.

nulled666 avatar Jan 06 '16 04:01 nulled666

Doesnt highlight colors at all,but did before. Anybody having same issues?

code-cro avatar Aug 31 '16 09:08 code-cro

This might due to the timing when the plugin draws the underlines. But I still can't reproduce it.

On Wed, Aug 31, 2016 at 5:41 PM Josip Haboić [email protected] wrote:

Doesnt highlight colors at all,but did before. Anybody having same issues?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nulled666/nppqcp/issues/25#issuecomment-243712813, or mute the thread https://github.com/notifications/unsubscribe-auth/ACBA0QRPFMBAL_O9Bx6lKItuSqw_lK0hks5qlUxCgaJpZM4G8fi7 .

nulled666 avatar Sep 01 '16 10:09 nulled666

Well it worked well in big files and all,but i installed some new plugins to give them a try,and since then its not working. To bad this is one of the most useful plugins for NPP i ever used and i really like it. I removed new plugins and reinstalled yours but problem remains, very strange.

code-cro avatar Sep 03 '16 06:09 code-cro

Just found solution of my problem, i am writing LESS and i use user defined language file for LESS, switching back to "CSS" in language menu shows up the highlights.

code-cro avatar Sep 03 '16 06:09 code-cro

I'll dig this old comment up, and confirm: Notepad++ 7.7.1 (32-bit) QuickColorPicker+ 2.0.0

color highlighting doesn't work in yaml files, but works in html, css.

pejotigrek avatar Aug 08 '19 09:08 pejotigrek