diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-02-20 19:19:26 +0000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-02-20 19:28:02 +0000 |
| commit | fe2d0fab718078231c31f18607666a3deabb931c (patch) | |
| tree | 08e25e6a74100527bd9828b6c138c6023d3481ca /src/buffer.hh | |
| parent | 5eef2b910521a5df917574d1cde7f63502311dca (diff) | |
Fix performance of word completion with many different selections
Fixes #1228
Diffstat (limited to 'src/buffer.hh')
| -rw-r--r-- | src/buffer.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.hh b/src/buffer.hh index f449e863..81f68441 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -143,6 +143,7 @@ public: size_t current_history_id() const noexcept; String string(BufferCoord begin, BufferCoord end) const; + StringView substr(BufferCoord begin, BufferCoord end) const; const char& byte_at(BufferCoord c) const; ByteCount distance(BufferCoord begin, BufferCoord end) const; |
