       @newRanges.push(@replaceNumberInBufferRange(scanRange)...)
       selection.cursor.setBufferPosition(scanRange.start)
     else
+      # ctrl-a, ctrl-x in `normal-mode`
       initialPoint = @mutationManager.getInitialPointForSelection(selection)
       newRanges = @replaceNumberInBufferRange scanRange, ({range, stop}) ->
         if range.end.isGreaterThan(initialPoint)

      selection.cursor.setBufferPosition(point)

  getNextNumber: (numberString) ->
    parseInt(numberString, 10) + @step * @getCount()

class Decrease extends Increase
  @extend()
  step: -1

# -------------------------
class IncrementNumber extends Increase
  @extend()
  baseNumber: null

    if @baseNumber?
      @baseNumber += @step * @getCount()
    else
      @baseNumber = Number.parseInt(numberString, 10)
    @baseNumber

# [g ctrl-x]
class DecrementNumber extends IncrementNumber
  @extend()
  step: -1

# Put
