-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Added tests for head, tail and line numbers #178
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.
This LGTM but we should potentially file issues for those two behaviours I call out below if you agree they should change
- anchor: {line: 1, character: 9} | ||
active: {line: 1, character: 0} |
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.
Do we want these reversed? I can see the logic, but I'd imagine it's more common to want it forward, so would prob make sense to have that be the default
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.
I really like them like they are to be honest. Its define as past start of line after all.
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.
And to be real these modifers are mostly usefull for chuck or clear. With a take it doesn't really matter where the active is because its gonna get overwritten if you insert anything.
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.
Fair enough; if they're working well for you this way and it's simpler let's leave them!
- anchor: {line: 1, character: 0} | ||
active: {line: 3, character: 28} |
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.
So "down three" is a mark, not a modifier? I guess fine for now but I'd argue that long term we want it as a modifier
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.
Yes up and down always align with vscode relative line number. This is just a stopgap intill we have the full "next" syntax working.
No description provided.