From b03b51d27ace58cc17eb8a3aec99fa20dd3209ab Mon Sep 17 00:00:00 2001 From: Jason Felice Date: Mon, 31 Dec 2018 12:40:49 -0500 Subject: Add 'history' and 'uncommitted_modifications' expansions --- src/buffer_utils.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/buffer_utils.hh') 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& history, Quoting quoting); +String undo_group_as_string(const Buffer::UndoGroup& undo_group, Quoting quoting); + } #endif // buffer_utils_hh_INCLUDED -- cgit v1.2.3