The new fontification scheme requires an empty line between transactions to tell where they begin and end.
I actually thought that was a requirement for the ledger input file. If it isn't I will see if I can get another way working. On Thursday, September 11, 2014, John Louis Del Rosario <[email protected]> wrote: > Awesome work. Thanks! > > Not sure if it's a bug or intentional, but I like to group my > transactions by day. With the recent changes, payees without an empty line > before them aren't highlighted correctly anymore. > > Screenshot: http://i.imgur.com/EeSsh7z.png (The top one has an empty line > before it) > > > On Tuesday, September 9, 2014 11:49:44 AM UTC+8, Craig Earls wrote: >> >> I have spent the last month overhauling ledger fontification. I gave >> up on using the standard REGEX based methods that most font lockers >> use. Instead I wrote a few functions that actually understand the >> semantics of a ledger xact then had jit-lock and font-lock call those. >> Overall there is much more flexibility and it seems to be plenty >> fast. The regexes I do use are much simpler. I tested with a file >> that had 2,613,072 postings and it was lighting fast. Comments after >> amounts are now properly recognized and you can fontify an entire xact >> based on its overall status (my favorite part, that font-lock just >> really couldn't do). >> >> For those of you who use lots of different directives there are now >> separate faces possible for all valid directives (or just use one face >> for all directives) >> >> Please check it out and report any bugs you find. I have banged on it >> for a while and it has been stable and well behaved. Of course you >> will find problems. >> >> -- >> Craig, Corona De Tucson, AZ >> enderw88.wordpress.com >> > -- > > --- > 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] > <javascript:_e(%7B%7D,'cvml','ledger-cli%[email protected]');> > . > For more options, visit https://groups.google.com/d/optout. > -- Craig, Corona De Tucson, AZ enderw88.wordpress.com -- --- 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.
