From 82575f5b07de227c31cfbfb5dec901910bf66ed2 Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Wed, 21 Mar 2018 12:29:52 -0400 Subject: [PATCH] :shirt: --- src/selection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/selection.js b/src/selection.js index e41358fa9..267c87d90 100644 --- a/src/selection.js +++ b/src/selection.js @@ -414,7 +414,7 @@ class Selection { const e = new Error('Attempt to mutate a read-only TextEditor through a Selection') e.detail = `Your package is attempting to call ${methodName} on a selection within an editor that has been marked ` + - ' read-only. Pass {bypassReadOnly: true} to modify it anyway, or test editors with .isReadOnly() before ' + ' read-only. Pass {bypassReadOnly: true} to modify it anyway, or test editors with .isReadOnly() before ' + ' attempting modifications.' throw e }