IncrementalInsertor::insert takes a memoryview<String> rather than a Register
This commit is contained in:
parent
7aa533c049
commit
5b2ef1da6a
|
@ -319,9 +319,9 @@ void IncrementalInserter::insert(const String& string)
|
||||||
apply(Modification::make_insert(sel.begin(), string));
|
apply(Modification::make_insert(sel.begin(), string));
|
||||||
}
|
}
|
||||||
|
|
||||||
void IncrementalInserter::insert(const Register& reg)
|
void IncrementalInserter::insert(const memoryview<String>& strings)
|
||||||
{
|
{
|
||||||
m_editor.insert(reg);
|
m_editor.insert(strings);
|
||||||
}
|
}
|
||||||
|
|
||||||
void IncrementalInserter::erase()
|
void IncrementalInserter::erase()
|
||||||
|
|
|
@ -111,7 +111,7 @@ public:
|
||||||
~IncrementalInserter();
|
~IncrementalInserter();
|
||||||
|
|
||||||
void insert(const String& string);
|
void insert(const String& string);
|
||||||
void insert(const Register& reg);
|
void insert(const memoryview<String>& strings);
|
||||||
void erase();
|
void erase();
|
||||||
void move_cursors(const BufferCoord& offset);
|
void move_cursors(const BufferCoord& offset);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user