0

Bug in PHP comments when using //

Roel 13 years ago updated 13 years ago 2
In PHP, when you use // for commenting out lines instead of /*, instead of one single line ALL lines are colored gray.. // is used to comment out just one single line in PHP and is often used.. With your app, all lines after // are turned gray, as if it would function the same as /* So, since I start all my files with: //Note:... my entire files are grayed out.. ......Thanks! Great app you're creating here, keep it up! :)
0

Unicode characters mangled when sending as attachment

Joost Kremers 13 years ago updated by Alexander Blach (Developer) 13 years ago 3
The other day I tried sending a UTF-8 encoded LaTeX file as an attachment, only to find out that when the file arrived, non-ASCII characters (such as German ö, ä, ü and ß) had been replaced by two question marks.
0
Under review

Detection of file type by shebang line

Andrew Pearce 9 years ago updated by Alexander Blach (Developer) 9 years ago 1
I'm loving Textastic - really handy for editing files locally on my morning commute (with terrible reception) and then upload them on a decent 4G connection at the end.

I've just had one annoyance so far which is that detection of file type appears to go by the file extension only. The problem is that I commonly omit the extension for executable scripts (e.g. Python) so that the language is an implementation detail that can be changed later without needing to change anything that calls them.

It would be great if extensionless files could be detected based on Shebang line. So, if the first line of the file starts with #! and something like "python" or "ruby" occurs after it then the appropriate mode can be chosen. I suggest a loose parsing strategy like that to cope with different paths to interpreters, use of the "env" utility, etc.
0
Under review

Add PAWN

Sean Luddeni 9 years ago in General updated by Alexander Blach (Developer) 9 years ago 3
I think it would be great if you added support for PAWN. If it was added, I would purchase this app in a heartbeat. I use PAWN to work on SA:MP servers. 
0
Thanks

A critical app for iPad

Ted Chew 9 years ago in iPad updated by Alexander Blach (Developer) 9 years ago 1
I purchased Textastic for the iPad recently and it has already paid for itself in terms of allowing me to code on go. I love that it supports custom TextMate bundles, since I work with some pretty obscure languages for embedded systems. The local hierarchical file system with WebDAV support and links to remote content is wonderful! It is just what I was looking for and I have recommended it to others at work who have been sitting on the fence about buying a tablet due to their apparent limitations. Apple should thank you for coming out with such a capable editor!
Answer
Thank you very much! I really appreciate it.
0

Is there a way to "Refresh" the preview?

Sigma8 13 years ago updated by Alexander Blach (Developer) 13 years ago 2

 I just bought Textastic last week in order to make some changes to a website remotely with my iPad and was immediately impressed! 


However, right now I'm trying to use it for actual web app creation, and I'm having a problem with the Preview functionality failing to recognize changes I've made to my .css files.


My example case starts with two very simple files: an index.html with a styled (class="test") "Hello World", and a stylesheet with a single dot-style (.test), which makes the font big and red.


I make these, and everything seems to work fine when I preview. However, then I change the color to yellow (in the .css) and I preview the change in the index.html file, and the font is still red.


Confused, I upload the files to my web server, and it is indeed yellow. I try making a "styles2.css" and I copy/paste the contents of styles.css into styles2. I change the stylesheet href in index.html to styles2, and I preview that. Now it's yellow! I changes it back to styles.css (remember, styles.css and styles2.css are identical--it was just a copy/paste) and things are back to red.


So, it seems as if Preview is aggressively caching files. Is there any way to force a refresh of asset files? I'm just using local storage for both index.html and styles.css, and they are in the same folder.

0
Declined

I would love to see ruby syntax highlighting included+ Dropbox/iDisk sync

Tom Garbutt 13 years ago updated by Alexander Blach (Developer) 13 years ago 1
Perhaps the ruby syntax could include such things as haml/sass highlighting too?
Answer
See comments for details.
0

Brackets integration

Travmak 12 years ago 0
If possible dropping Brackets html/css/js editor into textastic would be awesome.

http://www.youtube.com/watch?v=xirIHMtpc4c 

0

Automatically FTP files to the original folder from which is was downloaded

Nigel 8 years ago in iPad updated 8 years ago 1

Another of my failings is to forget I've changed destinationfolder and FTP into the wrong place on my server then spend a while trying to work out why my latest change isn't working.

0

PHP code completion

Alessandro Vannini 12 years ago updated by Alexander Blach (Developer) 12 years ago 1
I'm a new user of Textastic (amazing app!!!), and I'm experimenting with this new software to modify some php files on my personal development server. It seems that the code completion doesn't cover ALL the PHP functions, just a number are supported. For example, the foreach function doesn't seem to be supported in php autocompletion.

I'm I wrong? Is there a way to get ALL the latest PHP release's functions for autocompletion?

Thank you! :-)