Fix indentation with OnTypeFormatting
method for \n
#2922
Merged
OnTypeFormatting
method for \n
#2922