Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can WYSIWYG Die?
#7
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
class Klass:
    def __init__(self):
        pass 
    
    def test(self):
        while blah:
            if blah_blah:
                if blah_blah_blah:
                    pass 
tabs
class Klass:
def __init__(self):
pass 

def test(self):
while blah:
if blah_blah:
if blah_blah_blah:
pass 
wow...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:
Reply


Messages In This Thread
Can WYSIWYG Die? - by micseydel - Jan-17-2017, 01:48 AM
RE: Can WYSIWYG Die? - by metulburr - Jan-17-2017, 03:33 AM
RE: Can WYSIWYG Die? - by Larz60+ - Jan-17-2017, 03:42 AM
RE: Can WYSIWYG Die? - by buran - Jan-17-2017, 11:31 AM
RE: Can WYSIWYG Die? - by wavic - Jan-17-2017, 02:57 PM
RE: Can WYSIWYG Die? - by micseydel - Jan-17-2017, 04:29 PM
RE: Can WYSIWYG Die? - by metulburr - Jan-17-2017, 05:11 PM
RE: Can WYSIWYG Die? - by micseydel - Jan-17-2017, 10:05 PM
RE: Can WYSIWYG Die? - by metulburr - Jan-17-2017, 11:06 PM
RE: Can WYSIWYG Die? - by micseydel - Jan-17-2017, 11:31 PM
RE: Can WYSIWYG Die? - by metulburr - Jan-17-2017, 11:56 PM
RE: Can WYSIWYG Die? - by metulburr - Jan-18-2017, 08:59 PM
RE: Can WYSIWYG Die? - by micseydel - Jan-18-2017, 09:20 PM
RE: Can WYSIWYG Die? - by metulburr - Jan-18-2017, 11:00 PM
RE: Can WYSIWYG Die? - by micseydel - Jan-18-2017, 11:29 PM
RE: Can WYSIWYG Die? - by metulburr - Jan-18-2017, 11:33 PM
RE: Can WYSIWYG Die? - by stranac - Jan-23-2017, 03:44 PM
RE: Can WYSIWYG Die? - by Skaperen - Jan-24-2017, 04:16 AM
RE: Can WYSIWYG Die? - by micseydel - May-24-2017, 04:34 PM
RE: Can WYSIWYG Die? - by metulburr - May-24-2017, 05:27 PM
RE: Can WYSIWYG Die? - by metulburr - May-24-2017, 06:16 PM
RE: Can WYSIWYG Die? - by Larz60+ - May-24-2017, 06:28 PM
RE: Can WYSIWYG Die? - by metulburr - May-24-2017, 11:07 PM
RE: Can WYSIWYG Die? - by metulburr - May-25-2017, 12:28 AM
RE: Can WYSIWYG Die? - by micseydel - May-25-2017, 12:48 AM
RE: Can WYSIWYG Die? - by metulburr - May-25-2017, 01:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  WYSIWYG dead, source mode enabled metulburr 0 2,868 May-31-2017, 01:26 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020