From 844e0cf12f85d980004d8a083fb459fa3ba1a79e Mon Sep 17 00:00:00 2001 From: Joseph Solomon Date: Tue, 13 Nov 2018 09:51:13 -0500 Subject: [PATCH] try to match new format for findView --- lib/search-instance.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/search-instance.js b/lib/search-instance.js index 1b7e352..2e70086 100644 --- a/lib/search-instance.js +++ b/lib/search-instance.js @@ -220,7 +220,9 @@ class SearchInstance { lineTextOffset: 0, matchText: lineMatch[0], range: [[row, lineMatch.index], - [row, lineMatch.index + lineMatch[0].length]] + [row, lineMatch.index + lineMatch[0].length]], + leadingContextLines: [], + trailingContextLines: [], }); } } while (lineMatch);