Your comments

There is a TextMate bundle for SAS at https://github.com/jakob-stoeck/sas.tmbundle


Have a look at the manual to see how you can install it:

How to install syntax definitions

Ok, thanks for the detailed explanation. I'll try to setup a similar environment.
The speed of highlighting also depends on a lot of factors like file size, file type, file complexity and device type. It can't be predicted how long it takes to highlight the first few lines. Also, the app does not just display the plain text, but also starts to layout the text to calculate the line height after word wrap. It's a little more complex than what the user sees on the screen.
I'm not sure if I understand you correctly, but Textastic displays highlighted source code as soon as the first 100 lines are highlighted in a background thread. Before that, it will display a version of the text without syntax highlighting. I think that's better than displaying nothing before the text is highlighted.
Here's another topic with more information: http://feedback.textasticapp.com/topic/99038-create-tmbundle-to-extend-sql-to-t-sql-on-ipad/
Please have a look at this topic: http://feedback.textasticapp.com/topic/62335-custom-syntax-colors-how-to/

I've posted links to resources on how to create TextMate bundles in the comments.
Just type in the topic of your idea in the input field at the top of http://feedback.textasticapp.com/ and tap on "Next". This should allow you to post your idea.

Thanks,

Alexander
The file always is at least as high as one page in portrait orientation. I don't consider it a bug, maybe a little annoying if you do not expect that.

There was a reason why I did that, but I honestly can't remember at the moment what exactly it was, sorry.
Can't you just access it using FTP or SFTP?