SublimeText / TrailingSpaces

Highlight trailing spaces and delete them in a flash.
MIT License
897 stars 94 forks source link

Sublime Text 3 support #32

Closed jamie-pate closed 11 years ago

jamie-pate commented 11 years ago

This pr changes one line and makes this plugin work in sublime text 3 sublime.DRAW_EMPTY wasn't needed as the default value of icon is none

chikamichi commented 11 years ago

Thx, let's keep that up-to-date.

jamie-pate commented 11 years ago

seems like the plugin still doesn't load properly (i have to reload it by resaving the source code every time i load ST3)

not sure if that's the plugin's fault or ST3's fault

FichteFoll commented 11 years ago

Well, I accidentally edited the file in the main repo when I wanted to submit a pull request for this issue within github, sorry.

Anyway, it was not quite ST3 compatible because sublime API is not accessible at load time, thus the callback. See changelog for 3009 (and 3012 for sublime.version()): http://www.sublimetext.com/3

Oh, and I did not test it, please do so. Since the plugin didn't work it should not be severe if it does not now but this is at least the way how to do it.