summaryrefslogtreecommitdiff
path: root/src/context.hh
diff options
context:
space:
mode:
authorDelapouite <delapouite@gmail.com>2017-11-13 08:34:02 +0100
committerDelapouite <delapouite@gmail.com>2017-11-13 08:38:43 +0100
commita071e5b226b92316dcbd3e62bb89db6061ef031b (patch)
treeb4b4d1eb18b5ab7d6c24feb99ddc38ee75364e62 /src/context.hh
parentb298e01390ceafbd8b800086f26307b6f28f6634 (diff)
Add count support to jumps (<c-o> and <c-i>). Add jumps tests
Diffstat (limited to 'src/context.hh')
-rw-r--r--src/context.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context.hh b/src/context.hh
index 6c2a4641..754dfd77 100644
--- a/src/context.hh
+++ b/src/context.hh
@@ -20,8 +20,8 @@ class AliasRegistry;
struct JumpList
{
void push(SelectionList jump);
- const SelectionList& forward(Context& context);
- const SelectionList& backward(Context& context);
+ const SelectionList& forward(Context& context, int count);
+ const SelectionList& backward(Context& context, int count);
void forget_buffer(Buffer& buffer);
friend bool operator==(const JumpList& lhs, const JumpList& rhs)