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

Increment and decrement text objects #2815

Closed
txtyash opened this issue Jun 19, 2022 · 1 comment
Closed

Increment and decrement text objects #2815

txtyash opened this issue Jun 19, 2022 · 1 comment
Labels
A-helix-term Area: Helix term improvements A-tree-sitter Area: Tree-sitter C-bug Category: This is a bug

Comments

@txtyash
Copy link
Contributor

txtyash commented Jun 19, 2022

Summary

If a number isn't solely present then the increment & decrement operators don't even work.

1px 2 px

I was just editing a CSS file and first of all I have to place my cursor over the number and then use the increment or decrement operation. And if the word is alphanumeric then I have to place spaces around the number then place my cursor back on the number and now the increment and decrement operations work. I'm not sure if that's how it's intended to work but my complain about increment and decrement operation was quite old. In almost 90% of the cases I have a non-numeric character along with the number I'd like to increment.

Is this supposed to be fixed? I've tried it in helix from Arch as well as the one I built from source.

Reproduction Steps

No response

Helix log

No response

Platform

linux

Terminal Emulator

alacritty

Helix Version

helix 22.05-dev (595213c)

@txtyash txtyash added the C-bug Category: This is a bug label Jun 19, 2022
@kirawi kirawi added A-tree-sitter Area: Tree-sitter A-helix-term Area: Helix term improvements labels Jun 19, 2022
@pascalkuthe
Copy link
Member

This was fixed in #4123 by requiring the user ti select the number manually instead of auto detecting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements A-tree-sitter Area: Tree-sitter C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants