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

Box delete breaks across lines with different tab indents #2

Open
vasama opened this issue May 12, 2019 · 1 comment
Open

Box delete breaks across lines with different tab indents #2

vasama opened this issue May 12, 2019 · 1 comment

Comments

@vasama
Copy link
Owner

vasama commented May 12, 2019

IVsTextView APIs treat tabs as a single column but box selection works on virtual columns. This changes the meaning of the column indices given by IVsTextView across lines with different tab indents.

Best solution would be to find an API that deletes the entire current selection. Other solutions might include finding a way to access the current tab width or the extent of the box selection on a specific line.

@vasama
Copy link
Owner Author

vasama commented May 17, 2019

The IEditorOperations interface provides functions for deleting the current selection.

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