diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-06-29 18:35:48 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-06-29 18:35:48 +0200 |
| commit | 5b2ef1da6aecb82cf549e4b17e246149e4ad9968 (patch) | |
| tree | 0a4db48dff2f822b45165b999624cb46921f3941 /src | |
| parent | 7aa533c04904a8be36354e5896891f672ba3a40f (diff) | |
IncrementalInsertor::insert takes a memoryview<String> rather than a Register
Diffstat (limited to 'src')
| -rw-r--r-- | src/editor.cc | 4 | ||||
| -rw-r--r-- | src/editor.hh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/editor.cc b/src/editor.cc index a9a326c5..2567d599 100644 --- a/src/editor.cc +++ b/src/editor.cc @@ -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() diff --git a/src/editor.hh b/src/editor.hh index 4656b369..7cf7031a 100644 --- a/src/editor.hh +++ b/src/editor.hh @@ -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); |
