summaryrefslogtreecommitdiff
path: root/src/buffer_utils.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2019-11-13 20:13:53 +1100
committerMaxime Coste <mawww@kakoune.org>2019-11-13 20:13:53 +1100
commit7afced07d04eb6e4d97ee99d28e137ebf25d3002 (patch)
treec1b07c44700a47f43242894f1c33ca45329c5af6 /src/buffer_utils.hh
parentf9d3b0f67193ef2c3fd01bb0486d46a633483c50 (diff)
parent0f58f014289b12afd2391fb8cc5d99295ab7757d (diff)
Merge remote-tracking branch 'eraserhd/display-column-fixes'
Diffstat (limited to 'src/buffer_utils.hh')
-rw-r--r--src/buffer_utils.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer_utils.hh b/src/buffer_utils.hh
index a635658b..586cbb1d 100644
--- a/src/buffer_utils.hh
+++ b/src/buffer_utils.hh
@@ -69,8 +69,8 @@ inline bool is_eow(const Buffer& buffer, BufferCoord coord)
return is_word(*(it-1)) and not is_word(*it);
}
-ColumnCount get_column(const Buffer& buffer,
- ColumnCount tabstop, BufferCoord coord);
+ColumnCount get_column(const Buffer& buffer, ColumnCount tabstop, BufferCoord coord);
+ColumnCount column_length(const Buffer& buffer, ColumnCount tabstop, LineCount line);
ByteCount get_byte_to_column(const Buffer& buffer, ColumnCount tabstop,
DisplayCoord coord);