summaryrefslogtreecommitdiff
path: root/src/buffer_utils.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer_utils.hh')
-rw-r--r--src/buffer_utils.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer_utils.hh b/src/buffer_utils.hh
index 5af08e0e..dd5919a9 100644
--- a/src/buffer_utils.hh
+++ b/src/buffer_utils.hh
@@ -25,6 +25,8 @@ inline BufferRange replace(Buffer& buffer, const Selection& range, StringView co
return buffer.replace(range.min(), buffer.char_next(range.max()), content);
}
+void replace(Buffer& buffer, ArrayView<BufferRange> ranges, ConstArrayView<String> strings);
+
inline CharCount char_length(const Buffer& buffer, const Selection& range)
{
return utf8::distance(buffer.iterator_at(range.min()),