ColorHighlight icon indicating copy to clipboard operation
ColorHighlight copied to clipboard

breaks on `MarkDownEditor-Dark` color scheme, maybe others.

Open nerdCopter opened this issue 1 year ago • 5 comments

image

works on Monakai at least. image

nerdCopter avatar Dec 20 '23 13:12 nerdCopter

I can confirm, this happend to me on Monokai - Pro as well.

hrasekj avatar Feb 01 '24 14:02 hrasekj

I have found workaround for this. The issue is, when theme is read from sublime-archive, then this plugin does not create its own copy of sublime-color-scheme file. So i manually copied the sublime-color-scheme into ~/.config/sublime-text-3/Packages/Color Scheme - Default/. Then the plugin was able to change this file and highlight the colors again.

All installed packages can be found in folder ~/.config/sublime-text-3/Installed Packages/.

hrasekj avatar Feb 01 '24 15:02 hrasekj

The same is happening for me with Solarized. I am experiencing this on Windows 10. @hrasekj's suggestion to copy the color scheme seems to be a good work around. Although, I have to run 'Color Highlight: Reset' from the command pallette to get colors to highlight correctly after the color value has been changed. For example, if I change #ff0000 (red) changed to #00ff00 (green), the color stays red until I reset Color Highlight.

JasonRaveling avatar Jun 25 '24 15:06 JasonRaveling

  • although i prefer the look, feel and completeness of ColorHighlight it seems not to be maintained so i moved to ColorHelper as at least it works.
  • for comparison with my earlier images (both color themes) -- note no highlighting of commented code. image image

nerdCopter avatar Jun 25 '24 15:06 nerdCopter

Thanks, @nerdCopter. I was just about to start looking. I just noticed Color Highlight has not been updated since 2018.

JasonRaveling avatar Jun 25 '24 15:06 JasonRaveling