Skip to content

Context at point doesn't handle commodity annotations. #360

Description

@nnoodle

Similar to #211.
Calling (ledger-context-at-point) on the second line in this example will group everything after the indent as part of the account name since ledger-line-config does not parse commodity annotations.

1970-01-02 Transaction
    Wallet            -1 EUR {1.10 USD} [1970-01-01] @ 1.09 USD
    Equity

;=> (acct-transaction account ((indent "   " 24) (status nil nil) (account "Assets            -1 EUR {1.10 USD} [1970-01-01] @ 1.09 USD" 28)))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions