diff options
| author | Maxime Coste <mawww@kakoune.org> | 2019-11-13 20:13:53 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2019-11-13 20:13:53 +1100 |
| commit | 7afced07d04eb6e4d97ee99d28e137ebf25d3002 (patch) | |
| tree | c1b07c44700a47f43242894f1c33ca45329c5af6 /src/buffer_utils.hh | |
| parent | f9d3b0f67193ef2c3fd01bb0486d46a633483c50 (diff) | |
| parent | 0f58f014289b12afd2391fb8cc5d99295ab7757d (diff) | |
Merge remote-tracking branch 'eraserhd/display-column-fixes'
Diffstat (limited to 'src/buffer_utils.hh')
| -rw-r--r-- | src/buffer_utils.hh | 4 |
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); |
