summaryrefslogtreecommitdiff
path: root/src/context.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-02-18 14:07:30 +0100
committerMaxime Coste <frrrwww@gmail.com>2013-02-18 14:07:30 +0100
commitfc2dd599a3ff14fa207a1cb002b0974125eff16f (patch)
tree1359b1ac705d6b595db05329a40c0f5626f73c98 /src/context.hh
parent0e081a76c13cd4d9f937b73d49cc7fb6c940ce38 (diff)
Move last insert state from context to input handler
Diffstat (limited to 'src/context.hh')
-rw-r--r--src/context.hh4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/context.hh b/src/context.hh
index baea4442..05e5e59c 100644
--- a/src/context.hh
+++ b/src/context.hh
@@ -97,9 +97,6 @@ struct Context
ui().print_status(status);
}
- using Insertion = std::pair<InsertMode, std::vector<Key>>;
- Insertion& last_insert() { return m_last_insert; }
-
void push_jump()
{
const SelectionList& jump = editor().selections();
@@ -162,7 +159,6 @@ private:
InputHandler* m_input_handler = nullptr;
safe_ptr<UserInterface> m_ui;
- Insertion m_last_insert = {InsertMode::Insert, {}};
int m_numeric_param = 0;
using JumpList = std::vector<DynamicSelectionList>;