1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-30 19:25:47 +01:00

More comprehensive :jumps.

This commit is contained in:
Kris Maglione
2011-10-20 06:04:10 -04:00
parent 419d9b61f8
commit 933f490817
5 changed files with 42 additions and 8 deletions

View File

@@ -133,6 +133,14 @@ var Marks = Module("marks", {
});
},
get jumps() {
let store = buffer.localStore;
return {
index: store.jumpsIndex,
locations: store.jumps.map(function (j) j.mark)
};
},
/**
* Remove all marks matching *filter*. If *special* is given, removes all
* local marks.