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

Detect EOL visual block selections #10

Open
tommcdo opened this issue Dec 20, 2013 · 1 comment
Open

Detect EOL visual block selections #10

tommcdo opened this issue Dec 20, 2013 · 1 comment

Comments

@tommcdo
Copy link
Owner

tommcdo commented Dec 20, 2013

When a visual block is created using $, it may result in a selection where the rightmost corners are not the rightmost edge of the visual block. Example:

hello
goodbye
hi

Since blocks are reproduced using '< and '>, the longer text in the middle lines may not be covered.

@tommcdo
Copy link
Owner Author

tommcdo commented Dec 20, 2013

Using getregtype() seems to specify the maximum width of the visual block.

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

No branches or pull requests

1 participant