Thanks.  I have seen this as well.  I will look into it.

On Sun, Sep 14, 2014 at 9:29 AM, Hans Erik van Elburg
<[email protected]> wrote:
> Hi Craig,
>
> Nice work.
>
> I found one issue, in the following posting:
>
> 2014/08/23 demo fontification error
>     Expense:AAA                              € 10,00
>     Expense:BBB                              € 20,00
>     cash
>     Expense:CCC                              € 10,00
>     card                                           -€ 10,00
>
> Expense:CCC is colored red instead of blue, so I guess it is wrongly
> recognized as a new posting. If I add spaces after cash, then the colouring
> is correctly.
>
> Best Regards,
> Hans Erik
>
> Op dinsdag 9 september 2014 05:49:44 UTC+2 schreef Craig Earls:
>>
>> 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].
> 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.

Reply via email to