1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-13 04:45:47 +01:00

australian/british english -> american english in comments

added more help
This commit is contained in:
Martin Stubenschrott
2007-08-15 00:08:09 +00:00
parent 80fc51d8a0
commit 0d6600962e
2 changed files with 6 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ function Buffer() //{{{
var zoom_manager = ZoomManager.prototype.getInstance(); var zoom_manager = ZoomManager.prototype.getInstance();
const ZOOM_INTERVAL = 25; const ZOOM_INTERVAL = 25;
// initialise the zoom levels // initialize the zoom levels
zoom_manager.zoomFactors = [zoom_manager.MIN]; zoom_manager.zoomFactors = [zoom_manager.MIN];
for (var i = ZOOM_INTERVAL; i <= zoom_manager.MAX; i += ZOOM_INTERVAL) for (var i = ZOOM_INTERVAL; i <= zoom_manager.MAX; i += ZOOM_INTERVAL)
zoom_manager.zoomFactors.push(i); zoom_manager.zoomFactors.push(i);
@@ -220,7 +220,7 @@ function Buffer() //{{{
// find the currently focused frame index // find the currently focused frame index
// TODO: If the window is a frameset then the first _frame_ should be // TODO: If the window is a frameset then the first _frame_ should be
// focused. Since this is not the current FF behaviour, // 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. // first frame.
var current = -1; var current = -1;
for (var i = 0; i < frames.length; i++) for (var i = 0; i < frames.length; i++)

View File

@@ -738,16 +738,16 @@ function Mappings() //{{{
addDefaultMap(new Map(vimperator.modes.NORMAL, ["<C-b>", "<PageUp>", "<S-Space>"], addDefaultMap(new Map(vimperator.modes.NORMAL, ["<C-b>", "<PageUp>", "<S-Space>"],
function(count) { vimperator.buffer.scrollPages(-(count > 1 ? count : 1)); }, function(count) { vimperator.buffer.scrollPages(-(count > 1 ? count : 1)); },
{ {
short_help: "Scroll up a full page of the current document", short_help: "Scroll up a full page",
help: "TODO", help: "Scroll window <code class=\"argument\">[count]</code> pages Backwards (upwards) in the buffer.",
flags: Mappings.flags.COUNT flags: Mappings.flags.COUNT
} }
)); ));
addDefaultMap(new Map(vimperator.modes.NORMAL, ["<C-f>", "<PageDown>", "<Space>"], addDefaultMap(new Map(vimperator.modes.NORMAL, ["<C-f>", "<PageDown>", "<Space>"],
function(count) { vimperator.buffer.scrollPages(count > 1 ? count : 1); }, function(count) { vimperator.buffer.scrollPages(count > 1 ? count : 1); },
{ {
short_help: "Scroll down a full page of the current document", short_help: "Scroll down a full page",
help: "TODO", help: "Scroll window <code class=\"argument\">[count]</code> pages Forwards (downwards) in the buffer.",
flags: Mappings.flags.COUNT flags: Mappings.flags.COUNT
} }
)); ));