Selection disappears on copy, indent
bf0 opened this issue · 6 comments
Reproduction
- Select/highlight one or more lines
- Change indent level with cmd+] or cmd+[ or copy selection with cmd-c
Result
Text is no longer selected
Expected Result
Text should remain selected
Comment (cmd+/) also makes the selection disappear
This does happen but there is a command to toggle the active mark if you didn't know:
{"keys": ["ctrl+m"], "command": "sbp_swap_point_and_mark", "args": {"toggle_active_mark_mode": true}},
This might be able to help for now. It is removing the selection but not the mark so this will reactivate the selection.
@perrierism @bf0 We are about to have a new release soon that will try to list all the new features. A bunch of things have been added over the last year or 6 months that are not properly documented so be on the lookout.
@excetara2 thanks, sounds great
If I remember, shifting the region and leaving the selection highlighted produced an unexpected selection. I will see if I can fix it.
I have confirmed that it's not an easy fix.
One of the problems is that if you define a sublime region at position P and then start typing at position P, the region moves to the right along with your typing. There's no way to configure the marks, as far as I know, to allow you to specify whether that should happen.
But there are other issues as well.