Selecting a block of text then holding down tab may cause the editor to replace the text with a tab after a few tabs when block tab and expand tabs are enabled. Hitting undo will have no effect.
Solution: Hold down undo. Eventually, the replaced text will appear.
Related Links: