1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 17:57:59 +01:00

add C-u/C-d mappings and the associated 'scroll' option

This commit is contained in:
Doug Kearns
2007-08-08 05:27:39 +00:00
parent ad44a9160c
commit c615dc958c
5 changed files with 54 additions and 6 deletions

View File

@@ -892,7 +892,7 @@ function Commands() //{{{
if (oper == '-') num = cur_val - num;
// FIXME
if (option.validator != null && option.validator.call(this, num) == false)
vimperator.echoerr("E521: Number required after =: " + option.name + "=" + val);
vimperator.echoerr("E474: Invalid argument: " + option.name + "=" + val); // FIXME: need to be able to specify unique parse error messages
else // all checks passed, execute option handler
option.value = num;
}