-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
[sheets-] record key-col toggle for replay as key-col-on/-off #2622
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It hadn't quite occurred to me to do it this way, but you know what, I'll take it. Nice job.
Hmm, this PR still needs work. I hadn't thought about the case of macros. With this change, when But there's also a UI difference between macros and replay logs that makes this approach difficult. Users may expect |
f12e3f1
to
1842955
Compare
Okay I've fixed this problem. However, users who use macros to replay movement commands will find that this change breaks that use case. Commands like To save movement commands in macros, add this to
|
1842955
to
42a4773
Compare
Oops, I just noticed that when I force-pushed the followup commit for macros, I had deleted my original commit about keycols. I've just brought it back as 7e1ecbd. It is unchanged, except for rebasing it onto the latest develop branch. |
I'm following up on @saulpw's comment about trouble caused by keycol toggling in cmdlog replay.
Does the problem with key-col for cmdlog-replay still exist? If so, this PR should fix it, by recording
key-col-on
orkey-col-off
instead ofkey-col
.I'm preparing to submit the feature proposed in that Discussion: changing a column's sort direction while preserving other column's sort direction. So if this kind of fix is still needed for
key-col
, then I'll apply the same idea tosort-asc
and the commands like it.