Jan-17-2017, 05:11 PM
lwe could try to abolish the WYSIWYG editor and have the codebox the only method to reinstate whitespace. But i think that would be a process...especially since it would muck the whole forum up in while doing it.
spaces
On the other hand...why is it replacing tabs at all?
spaces
class Klass: def __init__(self): pass def test(self): while blah: if blah_blah: if blah_blah_blah: passtabs
class Klass: def __init__(self): pass def test(self): while blah: if blah_blah: if blah_blah_blah: passwow...i see what it does. The editor removes the tabs. Pretty much like
' '.replace(' ', '')
I wonder if there is a way to replace tabs with spaces in the editor. The problem with that is we would never know when someone inputs tabs. So for example it would be harder for us to detect someone having problems mixing their tabs and spaces. On the other hand...why is it replacing tabs at all?
Recommended Tutorials: