diff options
| author | Jason Felice <jason.m.felice@gmail.com> | 2018-12-31 12:40:49 -0500 |
|---|---|---|
| committer | Jason Felice <jason.m.felice@gmail.com> | 2020-01-01 19:47:29 -0500 |
| commit | b03b51d27ace58cc17eb8a3aec99fa20dd3209ab (patch) | |
| tree | dc9fa1bcf2d259834f8f31cd4c3c8aac9b816892 /src/buffer_utils.hh | |
| parent | 62b4780e07e152e037e29823bfd7d911b9767f2e (diff) | |
Add 'history' and 'uncommitted_modifications' expansions
Diffstat (limited to 'src/buffer_utils.hh')
| -rw-r--r-- | src/buffer_utils.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/buffer_utils.hh b/src/buffer_utils.hh index a3e43068..a7589864 100644 --- a/src/buffer_utils.hh +++ b/src/buffer_utils.hh @@ -84,6 +84,11 @@ void reload_file_buffer(Buffer& buffer); void write_to_debug_buffer(StringView str); +InplaceString<23> to_string(Buffer::HistoryId id); +String format_modification(const Buffer::Modification& modification, Quoting quoting); +String history_as_string(const Vector<Buffer::HistoryNode>& history, Quoting quoting); +String undo_group_as_string(const Buffer::UndoGroup& undo_group, Quoting quoting); + } #endif // buffer_utils_hh_INCLUDED |
