Page 1 of 1

tab settings don't work

Posted: Thu Mar 08, 2012 3:16 am
by dc
I'm working with python. I added the python.exe as a tool and it seems to work. I added document class Python, downloaded an add-on for it. I set default tab and indent size to 4, and I made sure the text file that I was working with was saved as .py (I have file extensions visible).

Opened and closed textpad but it doesn't seem to work: coloring my text, or anything like that, particularly, it doesn't react to my tab settings and uses the default of 8. I'd like to get this nailed so that I can start coding! :)

Posted: Fri Mar 09, 2012 9:41 pm
by kengrubb
Open TextPad, close the Python file that's open in TextPad, then reopen the Python file.

Posted: Fri Mar 09, 2012 11:47 pm
by dc
Must I have the file association with textpad (.py)? Before I open the file, or will it automatically recognize if I right-click file and select textpad from the dropdown? .py seems to be associated with the python compiler/interpreter currently.

Posted: Sat Mar 10, 2012 7:10 pm
by kengrubb
Having the file associated with TextPad makes it open in TextPad when you double click it.

Creating a Document Class with Syntax Definitions yields syntax highlighting, desired tab behavior, etc.

Separate issues.