Christophe Rhodes <[email protected]> writes: > My report of 16th October included a ledger file that exhibits problems > for me, along with a description of the problems. It can be found here: > <http://article.gmane.org/gmane.comp.finance.ledger.general/6829>.
Some observations, based on a little bit of code reading and debugging: * if I add "^" (i.e. "beginning of line") to ledger-start-xact-regex, the comments at the head of my example file get a lot less confused. I think this is because some of the text inside the comments matches ledger-start-xact-regex, and so transaction boundaries go a bit funny. * the code seems to be unsure what it's considering a "xact". For example, ledger-start-xact-regex, and hence many of the navigation functions, strictly consider only actual transactions as xacts; however, ledger-fontify-directive-at uses those xact navigation functions to find the extents to fontify in the directive face. So the effect of this will presumably be to fontify some nearby /transaction/ in the /directive/'s face. [ Sorry if this is a partial duplicate; I think a previous message got lost, but if it shows up it will have some of the content ] Best wishes, Christophe -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
