diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-02-14 00:02:01 +0000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-02-14 00:02:01 +0000 |
| commit | d470bd2cc9d5fb4081f998c752b8207deef857f8 (patch) | |
| tree | 0af03989ea1fc4d8ab54732fcadae8e5a4de6b19 /src/context.cc | |
| parent | e3a04dfa651ea4b32af64f207291ca8818adbf32 (diff) | |
Make numeric registers setable
Fixes #1214
Diffstat (limited to 'src/context.cc')
| -rw-r--r-- | src/context.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context.cc b/src/context.cc index dc8086fa..8d225052 100644 --- a/src/context.cc +++ b/src/context.cc @@ -211,7 +211,7 @@ void Context::end_edition() StringView Context::main_sel_register_value(StringView reg) const { - auto strings = RegisterManager::instance()[reg].values(*this); + auto strings = RegisterManager::instance()[reg].get(*this); size_t index = m_selections ? (*m_selections).main_index() : 0; if (strings.size() <= index) index = strings.size() - 1; |
