Remove exclusive

This commit is contained in:
Benjamin Gray
2018-11-22 01:57:49 +11:00
parent cc845c3bae
commit 0fc11e09f8

View File

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