summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-06-09 13:50:00 +0100
committerMaxime Coste <mawww@kakoune.org>2017-06-09 14:13:43 +0100
commit64aa6f3fb46762220b2066eb94d594550b296eb9 (patch)
tree18e5896cfce08756942c0b0e79751022ef0c08bc /src/input_handler.cc
parentf310db639c4ad063f74d4f556ab86afa7d4469b9 (diff)
Proper linear time insert completion insertion
The previous solution, ad9b090ddf362220e7879370538db0b5cd14fe34, was failing when completion was not replacing any text, as going through SelectionList was not permitting to replace empty ranges. Handle replacement as first a deletion then an insert to get fast update, as having a list of forward deletions and then a list for forwad insertion is much faster to update than a list of interleaved delete/insert.
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions