>>20
it doesn't corrupt at all, i use vim and the :cp or :mov functions to move around code between buffers or through a file and it keeps the indentation
but you probably mean when code moves around to other peoples code, well you can't really fix that, everyone has their own opinion and as long as programming code is written in ascii text files you'll have people using their own style, i mean that's the whole reason indent(1) was written all those many years ago