Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implemented Split Cell for multicursor#4824

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
blink1073 merged 3 commits intojupyter:masterfrombenthayer:splitcellmulticursor
Jun 3, 2020

Conversation

@benthayer
Copy link
Contributor

I took the current split cell functionality and made it work for multicursor. The help message for split cell is also updated to imply multicursor splitting is possible.

This can be done by putting the cursor at multiple locations (Alt+Drag/Ctrl+Click) and pressing Ctrl+Shift+Minus. The result should be new cells split at each of the cursors.

Additionally, this PR now makes cell splitting handles selections, so if you select a piece of code/text, then hit Ctrl+Shift+Minus, it'll put the selected text in a new cell with the text before/after the text going into their own cells. It is able to handle a combination of cursors and selections.

I retained the functionality of removing newlines at the beginning and end of the created cells, so the original single cursor behavior remains the same.

Copy link
Contributor

@blink1073blink1073 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

benthayer reacted with hooray emoji
@blink1073blink1073 added this to the6.1 milestoneJun 3, 2020
@blink1073blink1073 merged commitcf5cb64 intojupyter:masterJun 3, 2020
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsMar 24, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

1 more reviewer

@blink1073blink1073blink1073 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

6.1

Development

Successfully merging this pull request may close these issues.

2 participants

@benthayer@blink1073

[8]ページ先頭

©2009-2025 Movatter.jp