Steve Purcell
01c91130d7
[emacs] Parse transaction leading lines more robustly
...
This began with noticing that the code didn't support the (ugly, yet
valid) case of a tab between the date and txn description. I took the
opportunity to make the regexes more consistent along the way.
2014-12-09 16:26:51 +00:00
Craig Earls
f981ec7884
Another fonitification fix. and clean up a stray reference to function removed.
2014-12-02 18:06:41 -07:00
Craig Earls
eba603293b
Adjust payee line fortification.
2014-12-02 06:30:41 -07:00
Craig Earls
66d2e4fecd
Doc string cleanup.
2014-12-01 20:07:46 -07:00
Craig Earls
07324cb6b2
Simplifies parsing of the beginning of an act. This allows fontifying effective dates.
2014-12-01 19:30:10 -07:00
Craig Earls
54a736feab
Remove s-trim functions since they stomp on s.el.
2014-11-27 09:42:23 -07:00
Craig Earls
a3f3aa304f
Smash a bug that cause the status on a posting with no amount to bleed into the next line.
2014-11-11 19:54:43 -07:00
Craig Earls
1bd67755fa
Improve finding boundaries of elements for fontification. Also added P for price directives.
2014-11-07 18:19:57 -07:00
Craig Earls
61dd6bf663
Fix comment detection logic for fortification.
2014-09-28 20:45:13 -07:00
Craig Earls
59613845e7
Make ledger-fontify-xact-state-overrides nil by default
2014-09-22 22:27:44 -07:00
Craig Earls
7846e7c17a
All navigation functions moved to ledger-navigate.
...
Reduce several overlapping functions.
2014-09-13 18:20:03 -07:00
Craig Earls
84dc532b06
everything appears to work with no empty lines between xacts.
2014-09-13 17:11:40 -07:00
Craig Earls
bfc925f52f
Minor refactoring and code cleanup
2014-09-10 07:16:32 -07:00
Craig Earls
ad87ab16e4
New fortification is working.
...
Code pruned.
2014-09-08 20:36:11 -07:00
Craig Earls
57e2ec55eb
Seems to be working. I wasn't ensuring I caught all the xacts in a region specified by hit lock.
...
Now I need to prune code
2014-09-08 20:31:45 -07:00
Craig Earls
77e77f39dc
Solved the fight between jit-lock. But for some reason it isn't calling it for all regions in the buffer.
2014-09-05 21:59:23 -07:00
Craig Earls
991d162fb0
jit-lock is now calling ledger-fontify-buffer-part, but font-lock-fontify-region is still being called and fighting with it.
2014-09-05 21:45:36 -07:00
Craig Earls
fec5ecb4f3
meh. Still chugging along.
2014-09-05 20:12:03 -07:00
Craig Earls
d3d5c333f5
improved xact iteration so fontify-whole-buffer doesn't miss xact separated by more than a single empty line
2014-09-04 22:31:34 -07:00
Craig Earls
403ca4f1a5
Not working well, try something else on new-fontification-scheme-2
2014-08-26 18:33:41 -07:00
Craig Earls
4a003b5828
fontifying xact starts and postings.
...
initial testing looks better than previous font-lock methods. Need run time and performance testing.
2014-08-24 21:38:29 -07:00
Craig Earls
4deaeb02c9
Set up fontification independent of font-lock.
...
Basic functionality in place. need to test further and expand detail fortification.
2014-08-24 18:37:24 -07:00