diff --git a/src/selection.coffee b/src/selection.coffee index 0f32ddc3c..3388052e7 100644 --- a/src/selection.coffee +++ b/src/selection.coffee @@ -477,7 +477,7 @@ class Selection extends Model @cursor.setBufferPosition([selectedRange.start.row]) @cursor.moveToEndOfLine() - # Remove traing whitespace from current line + # Remove trailing whitespace from the current line scanRange = @cursor.getCurrentLineBufferRange() trailingWhitespaceRange = null @editor.scanInBufferRange /[ \t]+$/, scanRange, ({range}) -> @@ -496,7 +496,7 @@ class Selection extends Model @insertText(' ') @cursor.moveToEndOfLine() - # Remove leading whitespace from line below + # Remove leading whitespace from the line below @modifySelection => @cursor.moveRight() @cursor.moveToFirstCharacterOfLine()