mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 22:50:22 +03:00
Removed comments
This commit is contained in:
parent
1fc0dca3bc
commit
a873abe611
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user