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

fixes AttributeError: 'NoneType'... when views are activated via the Goto Anything palette #101

Merged
merged 1 commit into from
Aug 19, 2013

Conversation

DisposaBoy
Copy link
Contributor

don't run git_gutter in a view if it has no window: fixes AttributeError: 'NoneType'... when views are activated via the Goto Anything palette

don't run git_gutter in a view if it has no window: fixes AttributeError: 'NoneType'... when views are activated via the `Goto Anything` palette
@jisaacks
Copy link
Owner

This looks ok, in what situation does a view not have a window tho?

@DisposaBoy
Copy link
Contributor Author

transient views e.g. those opened with window.open_file('...', sublime.TRANSIENT) or those that get previewed as you type inside the goto anything palette have no window associated unless you edit them at which point they are assigned a tab, etc.

@jisaacks
Copy link
Owner

@DisposaBoy ahh yes. I much prefer the way ST3 handles transient views. I have a major bug I can't seem to fix in my MaxPane plugin dealing with transient views in ST2 (but theres no issue in ST3.)

I will pull this in when I get a chance. 👍

@jisaacks jisaacks merged commit 8ab383f into jisaacks:master Aug 19, 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.

2 participants