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

Printing multiple selections #162

Closed
CsatiZoltan opened this issue Oct 17, 2022 · 6 comments
Closed

Printing multiple selections #162

CsatiZoltan opened this issue Oct 17, 2022 · 6 comments

Comments

@CsatiZoltan
Copy link

When I try to print multiple selections (done with the alt key), only the last block is printed.
It would be nice to be able to print all the blocks.

@PeterWone
Copy link
Collaborator

Well, that's embarrassing. I wasn't even aware you could select discontiguous ranges. It's certainly technically feasible to print it; presumably there's a collection of ranges to enumerate. I'm a bit busy at the moment but I'll certainly add it to the backlog.

@CsatiZoltan
Copy link
Author

Thank you. Take your time, currently an alternative solution is to copy the selection to a new file and print from there.

@PeterWone
Copy link
Collaborator

I couldn't figure out how to select discontiguous ranges. Multiple cursors certainly, but that doesn't produce selection data that I can use to print. I hope you can supply enough information for me to act on it.

@CsatiZoltan
Copy link
Author

Keep the Alt key pressed down and then select the text you want to obtain discontinuous ranges.

@PhiLhoSoft
Copy link

I use this a lot… 🙂
You can do Alt+click to have multiple cursors, then you can do the classical Ctrl+Shift+right arrow (or left arrow if applicable), to extend the selection.
Alternatively, Alt+drag at various places.
Or Alt+click on the line number select the whole line, repeat elsewhere to get another line selected, etc.

@PeterWone
Copy link
Collaborator

While this is not something I plan to do in the foreseeable future, you are welcome to submit a PR. If you plan to do this, I recommend you either wait for the next release or base your work on the feature/api branch as there are quite substantial changes to the codebase.

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

3 participants