Hi guys. So, i have this small plugin that replace # chars with numbers. The problem is that it never worked on ST3 and today i decided to allocate some time to fix it.
Here is the full code: gist.github.com/iamntz/5546478
So, when i run the command, i get this error raised:
ValueError: Edit objects may not be used after the TextCommand's run method has returned
There is some weird issue on this code:
window.show_input_panel('Count Start:Step', '1:1', countThoseSelections, False, False)
Because if i eliminate that and i just call the countThoseSelections('1:1') method it just works. Also, params is sent to this method by show_input_panel.
I'm kinda out of ideas. Any help would be appreciated. Thanks!