mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-05 11:15:46 +01:00
australian/british english -> american english in comments
added more help
This commit is contained in:
@@ -35,7 +35,7 @@ function Buffer() //{{{
|
||||
var zoom_manager = ZoomManager.prototype.getInstance();
|
||||
const ZOOM_INTERVAL = 25;
|
||||
|
||||
// initialise the zoom levels
|
||||
// initialize the zoom levels
|
||||
zoom_manager.zoomFactors = [zoom_manager.MIN];
|
||||
for (var i = ZOOM_INTERVAL; i <= zoom_manager.MAX; i += ZOOM_INTERVAL)
|
||||
zoom_manager.zoomFactors.push(i);
|
||||
@@ -220,7 +220,7 @@ function Buffer() //{{{
|
||||
// find the currently focused frame index
|
||||
// TODO: If the window is a frameset then the first _frame_ should be
|
||||
// focused. Since this is not the current FF behaviour,
|
||||
// we initalise current to -1 so the first call takes us to the
|
||||
// we initalize current to -1 so the first call takes us to the
|
||||
// first frame.
|
||||
var current = -1;
|
||||
for (var i = 0; i < frames.length; i++)
|
||||
|
||||
@@ -738,16 +738,16 @@ function Mappings() //{{{
|
||||
addDefaultMap(new Map(vimperator.modes.NORMAL, ["<C-b>", "<PageUp>", "<S-Space>"],
|
||||
function(count) { vimperator.buffer.scrollPages(-(count > 1 ? count : 1)); },
|
||||
{
|
||||
short_help: "Scroll up a full page of the current document",
|
||||
help: "TODO",
|
||||
short_help: "Scroll up a full page",
|
||||
help: "Scroll window <code class=\"argument\">[count]</code> pages Backwards (upwards) in the buffer.",
|
||||
flags: Mappings.flags.COUNT
|
||||
}
|
||||
));
|
||||
addDefaultMap(new Map(vimperator.modes.NORMAL, ["<C-f>", "<PageDown>", "<Space>"],
|
||||
function(count) { vimperator.buffer.scrollPages(count > 1 ? count : 1); },
|
||||
{
|
||||
short_help: "Scroll down a full page of the current document",
|
||||
help: "TODO",
|
||||
short_help: "Scroll down a full page",
|
||||
help: "Scroll window <code class=\"argument\">[count]</code> pages Forwards (downwards) in the buffer.",
|
||||
flags: Mappings.flags.COUNT
|
||||
}
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user