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

[Feature Request] Moving blocks based on previous content #31

Open
D1mon opened this issue Mar 5, 2019 · 1 comment
Open

[Feature Request] Moving blocks based on previous content #31

D1mon opened this issue Mar 5, 2019 · 1 comment

Comments

@D1mon
Copy link

D1mon commented Mar 5, 2019

select all 2 and move up:

1 1 1 1
1 1 1 1
1 1 1 1
        2 2 2 2
        2 2 2 2
        2 2 2 2

it should end up like this:

1 1 1 1 2 2 2 2
1 1 1 1 2 2 2 2
1 1 1 1 2 2 2 2
@hugomg
Copy link
Contributor

hugomg commented Jul 7, 2020

What should this do if there are non-whitespace characters in the region that we are moving into?
For example, if we start with the following text and move the block ot 2's up by 2 lines what should be the result?

1 1 1 1 a a a a
1 1 1 1 b b b b
1 1 1 1 c c c c
        2 2 2 2
        2 2 2 2
        2 2 2 2

Should it be moved over the old text, leaving whitespace behind?

1 1 1 1 a a a a
1 1 1 1 2 2 2 2
1 1 1 1 2 2 2 2
        2 2 2 2    

Or should the old text be moved down, similarly to what is currently done when a block is moved horizontally?

1 1 1 1 a a a a
1 1 1 1 2 2 2 2
1 1 1 1 2 2 2 2
        2 2 2 2
        b b b b
        c c c c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants