1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 17:54:10 +01:00

Allow specifying line numbers in 'editor'. Take advantage in <C-i> and view-source links.

This commit is contained in:
Kris Maglione
2010-12-09 21:37:21 -05:00
parent e339032fd2
commit c5a1291eac
4 changed files with 83 additions and 36 deletions

View File

@@ -182,10 +182,10 @@ const Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
stack.top.elements.push(update(
function (obj) obj[char] != null ? quote(obj, char) : "",
{ test: function (obj) obj[char] != null }));
}
for (let elem in array.iterValues(stack))
elem.seen[char] = true;
for (let elem in array.iterValues(stack))
elem.seen[char] = true;
}
}
if (end < format.length)
stack.top.elements.push(format.substr(end));