Revert "Modified TextPasteIndentEngine."

This reverts commit 5dfcf3e2460cbe5a526a1db6445f9be7df2c80a6.