tab settings don't work

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
dc
Posts: 2
Joined: Thu Mar 08, 2012 3:13 am

tab settings don't work

Post 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! :)
User avatar
kengrubb
Posts: 324
Joined: Thu Dec 11, 2003 5:23 pm
Location: Olympia, WA, USA

Post by kengrubb »

Open TextPad, close the Python file that's open in TextPad, then reopen the Python file.
(2[Bb]|[^2].|.[^Bb])

That is the question.
dc
Posts: 2
Joined: Thu Mar 08, 2012 3:13 am

Post 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.
User avatar
kengrubb
Posts: 324
Joined: Thu Dec 11, 2003 5:23 pm
Location: Olympia, WA, USA

Post 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.
(2[Bb]|[^2].|.[^Bb])

That is the question.
Post Reply