1
0
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:
Kris Maglione
2010-10-05 15:29:18 -04:00
parent 2ee74581d1
commit 7f574a512f
8 changed files with 126 additions and 119 deletions

View File

@@ -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;