parent
ab3a255d58
commit
e722868c60
|
@ -495,6 +495,9 @@ BufferCoord Buffer::do_insert(BufferCoord pos, StringView content)
|
||||||
|
|
||||||
BufferCoord Buffer::do_erase(BufferCoord begin, BufferCoord end)
|
BufferCoord Buffer::do_erase(BufferCoord begin, BufferCoord end)
|
||||||
{
|
{
|
||||||
|
if (begin == end)
|
||||||
|
return begin;
|
||||||
|
|
||||||
kak_assert(is_valid(begin));
|
kak_assert(is_valid(begin));
|
||||||
kak_assert(is_valid(end));
|
kak_assert(is_valid(end));
|
||||||
StringView prefix = m_lines[begin.line].substr(0, begin.column);
|
StringView prefix = m_lines[begin.line].substr(0, begin.column);
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
o
|
|
@ -0,0 +1 @@
|
||||||
|
# Comment
|
|
@ -0,0 +1,3 @@
|
||||||
|
source "%val{runtime}/colors/default.kak"
|
||||||
|
source "%val{runtime}/rc/core/kakrc.kak"
|
||||||
|
set buffer filetype kak
|
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user