mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-24 14:45:48 +01:00
Preserve file/line information with saved ex commands (:au, :com, :map -ex).
This commit is contained in:
@@ -412,7 +412,7 @@ const RangeFind = Class("RangeFind", {
|
||||
},
|
||||
|
||||
iter: function (word) {
|
||||
let saved = ["range", "lastRange", "lastString"].map(function (s) [s, this[s]], this);
|
||||
let saved = ["lastRange", "lastString", "range"].map(function (s) [s, this[s]], this);
|
||||
try {
|
||||
this.range = this.ranges[0];
|
||||
this.lastRange = null;
|
||||
|
||||
Reference in New Issue
Block a user