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
Test: anchor selection #98087
Comments
Should the selection anchor persist after |
@ArturoDent currently it is designed in a way that the anchor does not persist. I felt this would make a nicer expereince so user would most of the time not need to manage the anhcor. Though I see that once a new anchor is set the only one is lost, so there is not a lot of managin. I am open for feedback and that we potentially change this. |
Based on the way I use this feature Select From Anchor to Cursor should destroy the anchor. I'd say I'm cutting or deleting text at least 50% of the time I use this feature. If I delete the text I would expect the anchor to go away. If I'm not deleting text I'd still prefer the anchor to go away since it would be extra complexity to try and remember that because I didn't delete text the anchor is still around. |
I would prefer to manage the anchor myself. Perhaps there are other selections I would like to do begore getting back to the I agree with this: "If I delete the text I would expect the anchor to go away" . But if I do a selection that doesn't involve the anchor I want the anchor to stay. |
@ArturoDent the anchor goes away after the command "select from anchor to cursor". |
Refs: #95894
Complexity: 2
Create Issue
We have introduced three new editor commands:
"Set Selection Anchor" Ctrl+k, Ctrl+b
"Select From Anchor to Cursor" Ctrl+k, Ctrl+k
"Go to Selection Anchor"
Try out these commands and make sure they works as expected. Thus verify:
Esc
while an anchor is set cancles itThe text was updated successfully, but these errors were encountered: