mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-14 06:45:51 +01:00
More group tweaks: colors- prefix for color scheme groups. :group default to return to the default group for your script.
--HG-- branch : groups
This commit is contained in:
@@ -993,7 +993,7 @@ unlet s:cpo_save
|
||||
modules.JavaScript.setCompleter([File, File.expandPath],
|
||||
[function (context, obj, args) {
|
||||
context.quote[2] = "";
|
||||
completion.file(context, true);
|
||||
modules.completion.file(context, true);
|
||||
}]);
|
||||
|
||||
},
|
||||
|
||||
@@ -1353,7 +1353,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
||||
* @param {string} string The string to search.
|
||||
* @param {number} lastIndex The index at which to begin searching. @optional
|
||||
*/
|
||||
iterate: function iterate(regexp, string, lastIndex) {
|
||||
iterate: function iterate(regexp, string, lastIndex) iter(function () {
|
||||
regexp.lastIndex = lastIndex = lastIndex || 0;
|
||||
let match;
|
||||
while (match = regexp.exec(string)) {
|
||||
@@ -1363,7 +1363,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
||||
if (match[0].length == 0 || !regexp.global)
|
||||
break;
|
||||
}
|
||||
}
|
||||
}())
|
||||
}),
|
||||
|
||||
rehash: function (args) {
|
||||
|
||||
Reference in New Issue
Block a user