vprimachenko / Sublime-Colorcoder

Semantic highlight for Sublime Text
290 stars 25 forks source link

Crashes when trying to create new color scheme. #15

Closed stathius closed 10 years ago

stathius commented 10 years ago

I've tried with various different color schemes (Monokai, Blackboard etc) but every time I try run the command Add colorcode to current color scheme it crashes Sublime (I could c/p the long crash log if needed). I'm using Sublime 2 on Mac OS 10.7.

I've also tried the debug version you provided in another ticket and the result was:

Traceback (most recent call last):
   File "./colorcoder.py", line 148, in panel_callback
   File "./colorcoder.py", line 159, in modify_color_scheme
AttributeError: 'module' object has no attribute 'readPlistFromBytes'
reloading /Users/kabamaru/Library/Application Support/Sublime Text 2/Packages   /User/colorcoder.sublime-settings
vprimachenko commented 10 years ago

how did you install the plugin? is seem to me you have the ST3 version running: please check the st2 branch

stathius commented 10 years ago

Before I had the plugin installed through the package manager. But when I cloned from git I didn't notice the st2 branch, sorry. Now it creates the color scheme but the result is the same as before. Uniform coloring. No differentiation. screen shot 2014-05-19 at 1 53 12

vprimachenko commented 10 years ago

nice, i can finally reproduce the issue, expect a fix soon

vprimachenko commented 10 years ago

please try this version if it works for you ill push this upstream

stathius commented 10 years ago

Yep mate, it works. Thanks a lot. It gives me a thin red line around the words (which is kinda disturbing). Is this the expected behaviour?

vprimachenko commented 10 years ago

thin red line around

yeah, sadly this is a limitation of sublime 2 which i tried my best to work around but there is nothing i can do. i hope colorcoder will still be helpful