diff --git a/src/selection.js b/src/selection.js index fa7aa52ca..64a2fbdb8 100644 --- a/src/selection.js +++ b/src/selection.js @@ -824,9 +824,6 @@ module.exports = class Selection { let cursorPositionAfterEdit = null; buffer.transact(() => { for (let i = 0; i < rowCount; i++) { - // this.cursor.setBufferPosition([selectedRange.start.row]); - // this.cursor.moveToEndOfLine(); - // // Remove trailing whitespace from the current line const scanRange = this.cursor.getCurrentLineBufferRange(); this.editor.scanInBufferRange(/[ \t]+$/, scanRange, ({ range }) => { @@ -835,10 +832,6 @@ module.exports = class Selection { const currentRow = selectedRange.start.row; const nextRow = currentRow + 1; const haveNextLine = nextRow <= buffer.getLastRow(); - // if (insertSpace) this.insertText(' ', options); - // - // this.cursor.moveToEndOfLine(); - // if(haveNextLine) { // Remove leading whitespace from the line below