Your comments

I think something different happened here: If you change the syntax definition of a file that is already saved, for example a file with a ".txt" extension, the new newly selected syntax is set as the default for the ".txt" extension instead of "Plain Text".


If you create a new, untitled file, Textastic creates a .txt file. If you earlier set the syntax of a .txt file to "Python", this syntax will be used for it.


To fix this problem, open a .txt file from disk and change the syntax from "Python" to "Plain Text" to restore the default.



The reason for this feature is that for example, for ".h" files, Textastic defaults to the "C" syntax definition. If you change it to "Objective-C" however, it will open all subsequently opened ".h" files with the "Objective-C" syntax.


I hope it makes sense :)

I just tried to answer your question "Is this a bug?" ;)

Well, the executable bit isn't set automatically. You need to set it using chmod.


If you run "python /Users/michaelsavich/Documents/Ni.py" instead it should work.


I don't consider this a bug.

Which exact error message did you get?


There was a bug that quarantined executable files, but it was fixed in version 2.0.

Actually, it should do that already. Are you using the latest version (2.0)?


Do you have "Hide Extension" disabled? If it is enabled, the extension isn't displayed in the save panel.

You can actually just drag the icon from Textastic's window title bar directly into a Terminal window to insert the path to the file.

You need to reference files with relative paths, not absolute paths. Something like this shouldn't cause any problems:


<a href="otherfile.html">Other File</a>

Update: I can reproduce the issue, but it only happens when you have more than one tab open. I'll see what I can do to fix this.

I can't reproduce the issue. On my machine, windows are maximized when I click on the Dock icon of Textastic with that option enabled.


Which OS X version are you using? I'm on 10.8.5.


Also, I'm not aware that I'm doing anything that should prevent the default behavior from working.