From 55a403b5caa21a6cea1bf1a7ad6b7a2fed7ea94e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= Date: Wed, 20 Jul 2011 10:36:05 +0200 Subject: [PATCH] Make the scrolling mapping aliases consistent between code and docs as well as among themselves. Fixes issue #601. --- common/content/buffer.js | 4 ++-- common/locale/en-US/buffer.xml | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/common/content/buffer.js b/common/content/buffer.js index f4f618a1..58c50c30 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -1713,7 +1713,7 @@ var Buffer = Module("buffer", { function (args) { buffer._scrollByScrollSize(args.count, false); }, { count: true }); - mappings.add([modes.COMMAND], ["", "", "", ""], + mappings.add([modes.COMMAND], ["", "", "", ""], "Scroll up a full page", function (args) { buffer.scrollVertical("pages", -Math.max(args.count, 1)); }, { count: true }); @@ -1727,7 +1727,7 @@ var Buffer = Module("buffer", { }, { count: true }); - mappings.add([modes.COMMAND], ["", "", ""], + mappings.add([modes.COMMAND], ["", "", ""], "Scroll down a full page", function (args) { buffer.scrollVertical("pages", Math.max(args.count, 1)); }, { count: true }); diff --git a/common/locale/en-US/buffer.xml b/common/locale/en-US/buffer.xml index c027e431..0f1ba37e 100644 --- a/common/locale/en-US/buffer.xml +++ b/common/locale/en-US/buffer.xml @@ -148,7 +148,7 @@ - h]]> + h]]> counth @@ -160,7 +160,7 @@ - j]]> + j]]> countj @@ -172,7 +172,7 @@ - k]]> + k]]> countk @@ -184,7 +184,7 @@ - l]]> + l]]> countl @@ -222,7 +222,7 @@ - ]]> + ]]> count<C-b> @@ -234,7 +234,7 @@ - ]]> + ]]> count<C-f>