1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 04:44:10 +01:00

break up buffer.scrollAbsolute and buffer.scrollRelative into smaller, more

specific, methods
This commit is contained in:
Doug Kearns
2007-08-14 15:32:55 +00:00
parent 9f79ec4d71
commit ca3ce21fdc
4 changed files with 148 additions and 121 deletions

View File

@@ -425,7 +425,9 @@ function Options() //{{{
addOption(new Option(["scroll", "scr"], "number",
{
short_help: "Number of lines to scroll with <code class=\"mapping\">C-u</code> and <code class=\"mapping\">C-d</code> commands",
help: "TODO",
help: "The number of lines scrolled defaults to half the window size. " +
"When a <code class=\"argument\">{count}</code> is specified to the <code class=\"mapping\">&lt;C-u&gt;</code> or <code class=\"mapping\">&lt;C-d&gt;</code> commands this is used to set the value of <code class=\"option\">'scroll'</code> and also used for the current command. " +
"The value can be reset to half the window height with <code class=\"command\">:set scroll=0</code>.",
default_value: 0,
validator: function (value) { if (value >= 0) return true; else return false; }
}