Your comments

Textastic currently remembers the cursor position, not the scroll position. So if you never move the cursor to the line you scrolled to, it will still be in line 1.

The problem is that this is only available in native UITextView instances. For Textastic I've implemented a fully custom text view based on the UITextInput protocol. This means that I would have to re-implement the functionality Apple implemented for UITextView. It's not just a simple switch, but would take some days.


You can still move the cursor by moving two fingers over the on-screen keyboard. It just doesn't work on the editor itself.

Currently, Textastic uses a new random port every time the web server is started.

I think adding a file provider extension would work. Then it would appear as a new "Textastic" location in the Files app, not in "On my iPad".

Hello,

when you use the "Open…" command to open a file from Dropbox, Textastic only has access to that single file. It cannot access other files in Dropbox. Even if you open both files, Textastic does not know that they are from the same location.

Please use the built-in Dropbox client instead to download your project to "Local Files" or "iCloud". Then the preview will work as expected.

This is also explained in the document you linked to:

If you plan to use the built-in web preview to preview a HTML file with external JavaScript, CSS, or image files, it is recommended to use one of the built-in clients for (S)FTPWebDAVDropbox, or Google Drive to download your website files first and edit and preview them locally. If you open a single file with the document picker, linked files cannot be accessed by the web preview due to the iOS security sandbox that limits an app’s access to files in other apps.

Have a look at the following topics in the manual to see how you can download files from Dropbox:

https://www.textasticapp.com/v7/manual/remote_servers/remote_file_transfer_screen.html

https://www.textasticapp.com/v7/manual/remote_servers/dropbox.html

https://www.textasticapp.com/v7/manual/remote_servers/uploading_downloading.html

https://www.textasticapp.com/v7/manual/remote_servers/quick_upload_download.html

Sorry that I didn't know right away what was going on.

Hello,

you can add a Working Copy folder as an external folder to Textastic. Then you can use the "+" button in Textastic to add a new file to the folder without having to use the Open… dialog or Working Copy.

Please have a look at the manual to see how you can do this: https://www.textasticapp.com/v7/manual/integration_other_apps/git_client_working_copy.html

Textastic uses WKWebView which is the same WebKit engine that is used by Safari.

WebKit does support ES6 modules in the latest iOS versions. Also, Textastic does run a local web server. 


If you send me sample project that doesn't work, I can have a look at it.

There is most likely a problem somewhere in your HTML or JavaScript file.

Can you please send me the project by email to support@textasticapp.com so I can have a look at it?

You can also try to run it through the HTML validator at https://validator.w3.org

Textastic stores local files in a so-called "application group container" - this was necessary so that Textastic 7 could seamlessly access files stored in Textastic 6. It's also necessary if I ever want to add a share extension that can access local files.

Unfortunately, the Files app currently does not support "On my iPhone" files to be in an application group container. I have reported this as an enhancement request to Apple, but so far this hasn't been implemented by them.