summaryrefslogtreecommitdiff
path: root/src/insert_completer.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-05-07 19:51:01 +0100
committerMaxime Coste <frrrwww@gmail.com>2014-05-07 19:53:45 +0100
commit8546788b436de31e1c523234941469b978ebb20e (patch)
treee5a24297bbc46d5e7599335f37fd9b3a77e77012 /src/insert_completer.hh
parent54ceb3a0d0b6835cec58d6479d160c1ab76b44d3 (diff)
Refactor LineAndColumn coordinates
BufferCoord -> ByteCoord DisplayCoord -> CharCoord Moved their definition along with LineAndColumn into coord.hh
Diffstat (limited to 'src/insert_completer.hh')
-rw-r--r--src/insert_completer.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/insert_completer.hh b/src/insert_completer.hh
index d05f8c96..dcbf3ba1 100644
--- a/src/insert_completer.hh
+++ b/src/insert_completer.hh
@@ -9,10 +9,10 @@ namespace Kakoune
struct InsertCompletion
{
- BufferCoord begin;
- BufferCoord end;
- CandidateList candidates;
- size_t timestamp;
+ ByteCoord begin;
+ ByteCoord end;
+ CandidateList candidates;
+ size_t timestamp;
bool is_valid() const { return not candidates.empty(); }
};