     chars.join("")
 
   isTypedChar: (patch) ->
-    # Technically speaking, a typed char will be of length 1, but >= 1
-    # happens to let us test with editor.setText, so we'll look the other way.
+    # a typed char will be of length 1, but pasted text can be longer
     return false unless patch.newText?.length >= 1 and patch.oldText?.length == 0
     patch.newText
 

      @typedText = @typedText.trimLeft()
      return super

    @vimState.activateInsertMode(transactionStarated = true)
    @typingCompleted = true

# Takes a transaction and turns it into a string of what was typed.


    return super if @typingCompleted

    @vimState.activateInsertMode()
    @typingCompleted = true

class Substitute extends Insert
