Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better porting to ST3 #67

Merged
merged 1 commit into from
Oct 17, 2013
Merged

Better porting to ST3 #67

merged 1 commit into from
Oct 17, 2013

Conversation

Verhaeg
Copy link
Contributor

@Verhaeg Verhaeg commented Mar 1, 2013

Saw a pull request from hayd, and tried to improve that

now it uses the Thread module and created a GuardMessageCommand to be able to put the output in the panel. The only thing missing for that is to be able to erase/clear the panel in case of text found.

@edubkendo
Copy link

@tbueno wondered what your plans are for either merging this in or doing something else to provide st3 support?
Now that Package Control 2.0 is out, it's actually pretty easy to have an st2 and an st3 branch and you just tell PC which is which and then it does the right thing.

@tbueno
Copy link
Collaborator

tbueno commented Oct 2, 2013

@edubkendo I'll test the solution and if it works, it will be merged soon. Even if we decide to rewrite some parts later to offer better integration with ST3, we should make it compatible now.

@@ -1,6 +1,11 @@
import sublime
import sublime_plugin
import thread
try:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like really a Python version issue not a sublime text 2 vs. 3 issue.

Would it not be better to use something like the following to get/check the Python version?

>>> import sys
>>> sys.version_info
(2, 5, 2, 'final', 0)

@tbueno tbueno merged commit e81c78e into drewdeponte:master Oct 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants