ledger-mode icon indicating copy to clipboard operation
ledger-mode copied to clipboard

Syntax highlighting doesn't register automatic transactions

Open alethiophile opened this issue 9 years ago • 3 comments

When I type an automatic transaction, it often seems to register as a comment and highlight accordingly. (Notably, though, indentation and tab-completion still work in such transactions.) This behavior is intermittent and unpredictable.

When an automatic transaction does highlight as a transaction, it registers the transaction condition as an uncleared payee, and so highlights it in red. This is probably not the correct behavior, since automatic transactions do not have a cleared/uncleared state.

alethiophile avatar Dec 03 '16 19:12 alethiophile

I have in my private git repository, several commits that fix several issues of syntax highlighting. Some of my commits are related to automatic transactions. I will propose them as pull request as soon as pull request #6 will be merged.

thdox avatar Dec 04 '16 14:12 thdox

@alethiophile, if you have some examples, I can check on my private repository that your issue is fixed.

thdox avatar Dec 04 '16 14:12 thdox

Propose away. I merged #6 this morning.

On Sun, Dec 4, 2016 at 7:44 AM, thdox [email protected] wrote:

I have in my private git repository, several commits that fix several issues of syntax highlighting. Some of my commits are related to automatic transactions. I will propose them as pull request as soon as pull request #6 https://github.com/ledger/ledger-mode/pull/6 will be merged.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ledger/ledger-mode/issues/10#issuecomment-264707903, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1rLF3CVISeaDELdSwaTTboB5zuMrJRks5rEtHngaJpZM4LDZFU .

-- Craig, Corona De Tucson, AZ [image: missile_flyout] enderw88.wordpress.com

enderw88 avatar Dec 04 '16 16:12 enderw88