summaryrefslogtreecommitdiff
path: root/lisp/ldg-fonts.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-02-01 10:41:35 -0800
committerCraig Earls <enderw88@gmail.com>2013-02-01 10:41:35 -0800
commitfdb9d0c2cae9a7827d9eaf6f7e7ba56ccc86a3fb (patch)
tree7e94613175616bcbea264f55b84b0a6af10ea9f7 /lisp/ldg-fonts.el
parent6718b689991250fc97b0c43ec96328ca2e72e4f3 (diff)
parentedd82b2639e8a4d1f865dfae898caf678a9e7cbd (diff)
downloadfork-ledger-fdb9d0c2cae9a7827d9eaf6f7e7ba56ccc86a3fb.tar.gz
fork-ledger-fdb9d0c2cae9a7827d9eaf6f7e7ba56ccc86a3fb.tar.bz2
fork-ledger-fdb9d0c2cae9a7827d9eaf6f7e7ba56ccc86a3fb.zip
Merge pull request #144 from enderw88/next
Add regional sort facility to ledger mode
Diffstat (limited to 'lisp/ldg-fonts.el')
-rw-r--r--lisp/ldg-fonts.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/lisp/ldg-fonts.el b/lisp/ldg-fonts.el
index 9f98a9fd..2b7717c6 100644
--- a/lisp/ldg-fonts.el
+++ b/lisp/ldg-fonts.el
@@ -56,6 +56,21 @@
"Face for Ledger comments"
:group 'ledger-faces)
+(defface ledger-font-reconciler-uncleared-face
+ `((t :foreground "green" :weight normal ))
+ "Default face for uncleared transactions in the reconcile window"
+ :group 'ledger-faces)
+
+(defface ledger-font-reconciler-cleared-face
+ `((t :foreground "grey70" :weight normal ))
+ "Default face for cleared (*) transactions in the reconcile window"
+ :group 'ledger-faces)
+
+(defface ledger-font-reconciler-pending-face
+ `((t :foreground "yellow" :weight normal ))
+ "Default face for pending (!) transactions in the reconcile window"
+ :group 'ledger-faces)
+
(defvar ledger-font-lock-keywords
'(("^[0-9]+[-/.=][-/.=0-9]+\\s-\\!\\s-+\\(([^)]+)\\s-+\\)?\\([^*].+?\\)\\(\\( ;\\| ;\\|$\\)\\)" 2 'ledger-font-pending-face)