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

Can't indent regions #197

Open
jdek opened this issue Sep 22, 2019 · 0 comments · May be fixed by #399
Open

Can't indent regions #197

jdek opened this issue Sep 22, 2019 · 0 comments · May be fixed by #399

Comments

@jdek
Copy link

jdek commented Sep 22, 2019

Selecting the following region and pressing TAB which is bound to indent-for-tab-command does not indent the transaction properly.

2019/08/13 Test
this  8000 GBP
out

Going through each line and pressing TAB will indent it correctly.

jabranham added a commit to jabranham/ledger-mode that referenced this issue Sep 24, 2019
* ledger-mode.el (ledger-mode): Set indent-region-function.
* ledger-post.el (ledger-indent-region): New function that indents the
region by calling ledger-indent-line for each line.

Closes bug ledger#197
jabranham added a commit to jabranham/ledger-mode that referenced this issue Sep 24, 2019
* ledger-mode.el (ledger-mode): Set indent-region-function.
* ledger-post.el (ledger-indent-region): New function that indents the
region by calling ledger-indent-line for each line.

Closes bug ledger#197
jabranham added a commit to jabranham/ledger-mode that referenced this issue Sep 24, 2019
* ledger-mode.el (ledger-mode): Set indent-region-function.
* ledger-post.el (ledger-indent-region): New function that indents the
region by calling ledger-indent-line for each line.

Closes bug ledger#197
jabranham added a commit to jabranham/ledger-mode that referenced this issue Sep 24, 2019
* ledger-mode.el (ledger-mode): Set indent-region-function.
* ledger-post.el (ledger-indent-region): New function that indents the
region by calling ledger-indent-line for each line.

Closes bug ledger#197
jdek pushed a commit to jdek/ledger-mode that referenced this issue Feb 24, 2024
* ledger-mode.el (ledger-mode): Set indent-region-function.
* ledger-post.el (ledger-indent-region): New function that indents the
region by calling ledger-indent-line for each line.

Closes bug ledger#197
jdek pushed a commit to jdek/ledger-mode that referenced this issue Feb 24, 2024
* ledger-mode.el (ledger-mode): Set indent-region-function.
* ledger-post.el (ledger-indent-region): New function that indents the
region by calling ledger-indent-line for each line.

Closes bug ledger#197

Signed-off-by: J. Dekker <jdek@itanimul.li>
@jdek jdek linked a pull request Feb 24, 2024 that will close this issue
jdek pushed a commit to jdek/ledger-mode that referenced this issue Feb 24, 2024
* ledger-mode.el (ledger-mode): Set indent-region-function.
* ledger-post.el (ledger-indent-region): New function that indents the
region by calling ledger-indent-line for each line.

Closes bug ledger#197

Signed-off-by: J. Dekker <jdek@itanimul.li>
jdek pushed a commit to jdek/ledger-mode that referenced this issue Feb 24, 2024
* ledger-mode.el (ledger-mode): Set indent-region-function.
* ledger-post.el (ledger-indent-region): New function that indents the
region by calling ledger-indent-line for each line.

Closes bug ledger#197

Signed-off-by: J. Dekker <jdek@itanimul.li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant