From bf9c2c476798a145fd15305b6662c116f14a4aeb Mon Sep 17 00:00:00 2001 From: Edvin Hultberg Date: Thu, 27 Jul 2017 17:33:37 +0200 Subject: [PATCH] hm.. does this work? --- lib/ex.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ex.coffee b/lib/ex.coffee index df78b6d..e6af1fe 100644 --- a/lib/ex.coffee +++ b/lib/ex.coffee @@ -372,7 +372,7 @@ class Ex # https://atom.io/docs/api/v1.18.0/TextEditor#instance-backwardsScanInBufferRange editor.backwardsScanInBufferRange( patternRE, - [[line, 0], [line + 1, 0]], + [[line, 0], [line - 1, 0]], ({match, replace}) -> replace(replaceGroups(match[..], substition)) )