IncrementalInsertor::insert takes a memoryview<String> rather than a Register

This commit is contained in:
Maxime Coste 2012-06-29 18:35:48 +02:00
parent 7aa533c049
commit 5b2ef1da6a
2 changed files with 3 additions and 3 deletions

View File

@ -319,9 +319,9 @@ void IncrementalInserter::insert(const String& 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()

View File

@ -111,7 +111,7 @@ public:
~IncrementalInserter();
void insert(const String& string);
void insert(const Register& reg);
void insert(const memoryview<String>& strings);
void erase();
void move_cursors(const BufferCoord& offset);