gornostal / Modific

Highlight lines changed since the last commit (supports Git, SVN, Bazaar, Mercurial and TFS) / ST2(3) plugin
614 stars 44 forks source link

Gutter mark graphic corrupted #39

Closed mmmpie closed 11 years ago

mmmpie commented 11 years ago

In ST 3, OSX 10.8, the mark in the gutter does not match the screenshots in the readme. They look like they are being corrupted somewhere along the line. Restarting ST did not fix the problem.

Screenshot_2_19_13_10_25_AM

gornostal commented 11 years ago

ST3 has an issue with icons in the gutter. I guess it will be fixed in near future but now you have few options:

  1. In Modific's config set "region_icon": "dot"
  2. Open console (Ctrl+`) and find where Sublime is looking for icons. Then put icons from the plugin into that directory.

And could you give me a path that you'll find in console? Maybe I can make a workaround for this issue.

mmmpie commented 11 years ago

ST3 has an issue with icons in the gutter. I guess it will be fixed in near future but now you have few options:

  1. In Modific's config set "region_icon": "dot"
  2. Open console (Ctrl+`) and find where Sublime is looking for icons. Then put icons from the plugin into that directory.

And could you give me a path that you'll find in console? Maybe I can make a workaround for this issue.

I am seeing an error in the console:

Unable to decode Packages/Theme - Default/../Modific/icons/changed.png

I installed Modific using package control. Its path is 'Installed Packages/Modific.sublime-package'. Unzipping it into the Packages directory resolves the bug (icon files are found). Only keeping the icon files (and not the other contents of the package) fails, as the presence of the Modific directory prevents the sublime-package copy from loading.

gornostal commented 11 years ago

Okay, I see. I'm not sure how to fix this though. I can suggest you to install Modific via git clone command (see README). Package Control will keep Modific up-to-date.

berryp commented 11 years ago

ST3 no longer unpacks the contents of installed packages into the Packages folder, meaning plugins don't have access to their assets. This same thing is biting Package Control right now - more info in the Package Control docs under "Sublime Text 3 > Git Install". I'd follow wbond's progress on Github to see how he get's around this.

To resolve this issue in the short term I had to install Modific using Package Manager then clone the repo into my Packages folder. That way both Sublime and Modific have files where expected.

gornostal commented 11 years ago

@berryp try to install latest dev version. They have fixed issue with icons in build 3014. And I made corresponding changes to the python3 branch of Modific. I'll push those changes to the master as soon as we get new stable release.

gornostal commented 11 years ago

This was fixed. Closing.