Skip to content

When run is called, check if the selection is at the same line as the…#18

Merged
psykzz merged 2 commits into
frou:masterfrom
brentswisher:sameline-toggle-hide
Nov 20, 2017
Merged

When run is called, check if the selection is at the same line as the…#18
psykzz merged 2 commits into
frou:masterfrom
brentswisher:sameline-toggle-hide

Conversation

@brentswisher

Copy link
Copy Markdown

Attempt at #17

@psykzz

psykzz commented Nov 16, 2017

Copy link
Copy Markdown
Collaborator

Im happy with the idea, but instead of nesting everything inside a big catch-all if.
Would you just return (short circuit) if the condition passes.

@psykzz

psykzz commented Nov 16, 2017

Copy link
Copy Markdown
Collaborator

If it's difficult, then i don't mind trying this way for a bit.

… as the last open phantom, instead of wrapping in an if statement
@brentswisher

brentswisher commented Nov 16, 2017

Copy link
Copy Markdown
Author

Updated, let me know if that isn't what you had in mind

@psykzz psykzz merged commit 2d530c1 into frou:master Nov 20, 2017
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