From 0fc11e09f8eaa324d18f8730a1ddf25ec4950c10 Mon Sep 17 00:00:00 2001 From: Benjamin Gray Date: Thu, 22 Nov 2018 01:57:49 +1100 Subject: [PATCH] Remove exclusive --- src/text-editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/text-editor.js b/src/text-editor.js index 4c7e1a093..c7928c32c 100644 --- a/src/text-editor.js +++ b/src/text-editor.js @@ -2692,7 +2692,7 @@ class TextEditor { // // Returns a {Cursor}. addCursorAtBufferPosition (bufferPosition, options) { - this.selectionsMarkerLayer.markBufferPosition(bufferPosition, {invalidate: 'never', exclusive: true}) + this.selectionsMarkerLayer.markBufferPosition(bufferPosition, {invalidate: 'never'}) if (!options || options.autoscroll !== false) this.getLastSelection().cursor.autoscroll() return this.getLastSelection().cursor } @@ -2703,7 +2703,7 @@ class TextEditor { // // Returns a {Cursor}. addCursorAtScreenPosition (screenPosition, options) { - this.selectionsMarkerLayer.markScreenPosition(screenPosition, {invalidate: 'never', exclusive: true}) + this.selectionsMarkerLayer.markScreenPosition(screenPosition, {invalidate: 'never'}) if (!options || options.autoscroll !== false) this.getLastSelection().cursor.autoscroll() return this.getLastSelection().cursor }