Your comments
What kind of file is that in your case? As far as I know, .conf files can be in a lot of different formats depending on the application that uses it. You can just select the appropriate syntax definition from the File Properties menu and Textastic will use it for all files with the same file extension.
10 years ago
Textastic offers syntax highlighting for many languages including PHP, but it doesn't include compilers or interpreters due to restrictions of iOS.If you try to preview the php file locally, only the html part will be interpreted by the web view. The PHP part will be ignored.
In order to preview PHP in Textastic, you can upload the file to a test server, open the preview screen, switch from "Local" to "Remote" and enter the remote url of your test server.
You will notice that all apps that support running code - like Kodiak, Codea and Pythonista for example - do not have file download capabilities. So, if I wanted to add the ability to run code in Textastic, I'd have to remove FTP, "Open In", WebDAV, Dropbox and all other means of sharing files with other apps.
This is what the iOS Developer Program License Agreement says:
3.3.2 An Application may not download or install executable code. Interpreted code may only be used in an Application if all scripts, code and interpreters are packaged in the Application and not downloaded. The only exception to the foregoing is scripts and code downloaded and run by Apple's built- in WebKit framework, provided that such scripts and code do not change the primary purpose of the Application by providing features or functionality that are inconsistent with the intended and advertised purpose of the Application as submitted to the App Store.
These are the relevant points in the App Store review guidelines:
2.7 Apps that download code in any way or form will be rejected
2.8 Apps that install or launch other executable code will be rejected
In order to preview PHP in Textastic, you can upload the file to a test server, open the preview screen, switch from "Local" to "Remote" and enter the remote url of your test server.
You will notice that all apps that support running code - like Kodiak, Codea and Pythonista for example - do not have file download capabilities. So, if I wanted to add the ability to run code in Textastic, I'd have to remove FTP, "Open In", WebDAV, Dropbox and all other means of sharing files with other apps.
This is what the iOS Developer Program License Agreement says:
3.3.2 An Application may not download or install executable code. Interpreted code may only be used in an Application if all scripts, code and interpreters are packaged in the Application and not downloaded. The only exception to the foregoing is scripts and code downloaded and run by Apple's built- in WebKit framework, provided that such scripts and code do not change the primary purpose of the Application by providing features or functionality that are inconsistent with the intended and advertised purpose of the Application as submitted to the App Store.
These are the relevant points in the App Store review guidelines:
2.7 Apps that download code in any way or form will be rejected
2.8 Apps that install or launch other executable code will be rejected
Textastic offers syntax highlighting for many languages including C, C++, and Python, but it doesn't include compilers or interpreters due to restrictions of iOS.
You will notice that all apps that support running code - like Kodiak, Codea and Pythonista for example - do not have file download capabilities. So, if I wanted to add the ability to run code in Textastic, I'd have to remove FTP, "Open In", WebDAV, Dropbox and all other means of sharing files with other apps.
These are the relevant points in the App Store review guidelines:
2.7 Apps that download code in any way or form will be rejected
2.8 Apps that install or launch other executable code will be rejected
That's a limitation that is imposed by Apple, sorry.
Yes, running it from within the app on your device won't be possible.
You could try to enhance the file at https://github.com/BlackBulletIV/enhanced-lua.tmbundle/blob/master/Syntaxes/Lua%20(Love).tmLanguage
Unfortunately, this seems to be a limitation of keyboard support in iOS.
Even in Pages, when I press page down on my bluetooth keyboard, it jumps to the end of the file.
Even in Pages, when I press page down on my bluetooth keyboard, it jumps to the end of the file.
I see. I'm using Sublime Text 2, so I guess this is very similar to the View -> Layout menu?
Customer support service by UserEcho