From fc2dd599a3ff14fa207a1cb002b0974125eff16f Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 18 Feb 2013 14:07:30 +0100 Subject: Move last insert state from context to input handler --- src/context.hh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/context.hh') 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>; - 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 m_ui; - Insertion m_last_insert = {InsertMode::Insert, {}}; int m_numeric_param = 0; using JumpList = std::vector; -- cgit v1.2.3