As far as I can tell no formatting is included (when I use view source in the editor). Pasting with ctrl + shift + v makes no difference either.
Also, it seems that although only 1 space is removed when previewing, all tabs are removed:
Pasted using ctrl + v, 1 preview:
apparently this is the exact same issue that was being discussed in this thread.
Also, it seems that although only 1 space is removed when previewing, all tabs are removed:
Pasted using ctrl + v, 1 preview:
def get_protnumber2(prefix): l = [] for attribute in dir(socket): if attribute.startswith(prefix): key = getattr(socket, attribute) value = attribute l.append((key,value)) return dict(l)Pasted using ctrl + shift + v, 1 preview:
def get_protnumber2(prefix): l = [] for attribute in dir(socket): if attribute.startswith(prefix): key = getattr(socket, attribute) value = attribute l.append((key,value)) return dict(l)Pasted without preview:
def get_protnumber2(prefix): l = [] for attribute in dir(socket): if attribute.startswith(prefix): key = getattr(socket, attribute) value = attribute l.append((key,value)) return dict(l)Edit:
apparently this is the exact same issue that was being discussed in this thread.