diff options
| author | Frank LENORMAND <lenormf@gmail.com> | 2021-07-22 16:12:18 +0300 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2022-03-06 10:13:14 +1100 |
| commit | 85b78dda2e29d70b620836b04224b104426bdbae (patch) | |
| tree | 68f3f68019d52c11ec0bb7f70344bc46ad941f01 /src/selection.hh | |
| parent | 70610017284af7effd675bd927ae25b084b3e4b9 (diff) | |
src: Select the data inserted by `!` and `<a-!>`
Closes #1468
Diffstat (limited to 'src/selection.hh')
| -rw-r--r-- | src/selection.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection.hh b/src/selection.hh index 1aebe41f..43ea412b 100644 --- a/src/selection.hh +++ b/src/selection.hh @@ -75,7 +75,7 @@ void merge_overlapping_selections(Vector<Selection>& selections, size_t& main); void clamp_selections(Vector<Selection>& sel, const Buffer& buffer); void replace(Buffer& buffer, Selection& sel, StringView content); -void insert(Buffer& buffer, Selection& sel, BufferCoord pos, StringView content); +BufferRange insert(Buffer& buffer, Selection& sel, BufferCoord pos, StringView content); struct SelectionList { |
