Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

SelectLine : When multiple lines selected, complete both first and last line - #8646

Merged
nathansobo merged 1 commit into
atom:masterfrom
jeancroy:master
Sep 3, 2015
Merged

nathansobo merged 1 commit into
atom:masterfrom
jeancroy:master

Conversation

@jeancroy

@jeancroy jeancroy commented Sep 3, 2015

Copy link
Copy Markdown
Contributor

Possible fix for #3624.

Problem is that line completion was triggered only on cursor line.
Other editor like sublime will complete the missing selection both before the start and after the end of a multi-lines selection.

Before

before

After

after

@jeancroy jeancroy changed the title SelectLine : When multiple line selected, complete first and last line SelectLine : When multiple lines selected, complete both first and last line Sep 3, 2015
@jeancroy

jeancroy commented Sep 3, 2015

Copy link
Copy Markdown
Contributor Author

Build failed for a reason I believe unrelated to this PR.

@winstliu

winstliu commented Sep 3, 2015

Copy link
Copy Markdown
Contributor

I've restarted them.

@izuzak

izuzak commented Sep 3, 2015

Copy link
Copy Markdown
Contributor

Thanks, @jeancroy. 💚 Going to cc @nathansobo for review 👀.

@nathansobo
nathansobo merged commit 361ef30 into atom:master Sep 3, 2015
nathansobo pushed a commit that referenced this pull request Sep 3, 2015
SelectLine : When multiple lines selected, complete both first and last line
@nathansobo

Copy link
Copy Markdown
Contributor

Thanks @jeancroy. I made a few adjustments in 3ca11c2 but your basic approach was sound.

@jeancroy

jeancroy commented Sep 3, 2015

Copy link
Copy Markdown
Contributor Author

Shloud issue #3624 be closed ?

@maxbrunsfeld

Copy link
Copy Markdown
Contributor

Yeah. Thanks @jeancroy!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants