diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2016-09-22 20:36:26 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2016-10-01 13:45:00 +0100 |
| commit | 35559b65ddf107fea2a4dda92fcbd664986976d9 (patch) | |
| tree | 58840b2523abb01459afb09ad2480df07b9ddd2d /src/insert_completer.hh | |
| parent | 6e17ecfb6eadc157cc5229f3c36f2962cfe1fcdf (diff) | |
Support codepoints of variable width
Add a ColumnCount type and use it in place of CharCount whenever
more appropriate, take column size of codepoints into account for
vertical movements and docstring wrapping.
Fixes #811
Diffstat (limited to 'src/insert_completer.hh')
| -rw-r--r-- | src/insert_completer.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/insert_completer.hh b/src/insert_completer.hh index d29af8bd..064047f8 100644 --- a/src/insert_completer.hh +++ b/src/insert_completer.hh @@ -64,8 +64,8 @@ struct InsertCompletion using CandidateList = Vector<Candidate>; - ByteCoord begin; - ByteCoord end; + BufferCoord begin; + BufferCoord end; CandidateList candidates; size_t timestamp; |
