diff options
author | John Wiegley <johnw@newartisans.com> | 2009-06-21 19:06:07 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-06-21 19:06:07 +0100 |
commit | 8cb80185d515fe158a1858dd832ff9bc0f96e4a0 (patch) | |
tree | 51a29c09cb0b928bde19e389ec5cada3c83e753d /src/format.h | |
parent | c1307445c1ca691ef2d4df53d8b36c6ba6639d45 (diff) | |
download | fork-ledger-8cb80185d515fe158a1858dd832ff9bc0f96e4a0.tar.gz fork-ledger-8cb80185d515fe158a1858dd832ff9bc0f96e4a0.tar.bz2 fork-ledger-8cb80185d515fe158a1858dd832ff9bc0f96e4a0.zip |
Restored the --truncate option, added baseline test
Diffstat (limited to 'src/format.h')
-rw-r--r-- | src/format.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/format.h b/src/format.h index 13dd0876..03ed28c7 100644 --- a/src/format.h +++ b/src/format.h @@ -107,12 +107,14 @@ class format_t : public noncopyable scoped_ptr<element_t> elements; public: - enum elision_style_t { + static enum elision_style_t { TRUNCATE_TRAILING, TRUNCATE_MIDDLE, TRUNCATE_LEADING, ABBREVIATE - }; + } default_style; + + static bool default_style_changed; private: static element_t * parse_elements(const string& fmt); |