http://ideone.com/2VuiA how would I approach a task like that?
I personally don't think that is beautiful at all. But if you want to do it, you're talking about adding indentations in a file once it is opened. You would need to edit the code of the program that opens the file or a separate script that can parse a text file and add the proper tabbed characters. Steps would be something like: 1. open file 2. parse text - look for punctuation to be tabbed -- if it exists --- count text already there --- add tabs to fill up to length of where the punctuation needs to be (Position - Txt already there) --- move to next line -- if it doesn't exist, move to next line 3. save or show final edited file I hope you're talking about using a viewer where each character has the same width, or else that would be ugly :)
Write an extension for Notepad++
hehe, that's not python lol
i wonder what markers would say if I would have done like that in my labs
I didn't see anywhere that he said it had to be in Python
i didn't say that it has to be in python either
Sorry Tomas. I thought your comment, "hehe, that's not python lol" was in response to my suggestion. :)
its ok :)
Join our real-time social learning platform and learn together with your friends!