mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:27:58 +01:00
More completion stuff.
This commit is contained in:
@@ -349,10 +349,18 @@ const util = { //{{{
|
||||
return color ? string : [s for each (s in string)].join("");
|
||||
},
|
||||
|
||||
range: function (start, end)
|
||||
range: function (start, end, reverse)
|
||||
{
|
||||
while (start < end)
|
||||
yield start++;
|
||||
if (!reverse)
|
||||
{
|
||||
while (start < end)
|
||||
yield start++;
|
||||
}
|
||||
else
|
||||
{
|
||||
while (start >= end)
|
||||
yield --start;
|
||||
}
|
||||
},
|
||||
|
||||
interruptableRange: function (start, end, time)
|
||||
|
||||
Reference in New Issue
Block a user