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

Adding block comments with the editor works only when you select whole lines only. #30

Open
dullin opened this issue Oct 13, 2018 · 0 comments

Comments

@dullin
Copy link
Contributor

dullin commented Oct 13, 2018

As discussed in #26 , the current block comment editor action will insert the block comment suffix and prefix at the exact beginning and end of the selection.

MATLAB block comments only work when the prefix and suffix are on their respective lines.
The would block comment need to move the selection to select the whole lines of the selection before applying the suffix and prefix.

@kornilova-l found the class SelfManagingCommenter that could possibly add the action needed.

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