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.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer_utils.hh b/src/buffer_utils.hh
index 80bd3112..591ea455 100644
--- a/src/buffer_utils.hh
+++ b/src/buffer_utils.hh
@@ -27,6 +27,9 @@ inline CharCount char_length(const Buffer& buffer, const Selection& range)
CharCount get_column(const Buffer& buffer,
CharCount tabstop, ByteCoord coord);
+ByteCount get_byte_to_column(const Buffer& buffer, CharCount tabstop,
+ CharCoord coord);
+
Buffer* create_fifo_buffer(String name, int fd, bool scroll = false);
Buffer* create_buffer_from_data(StringView data, StringView name,