Your comments
Hello,
the screenshot is not from the code editor of Textastic. It looks like the preview of a PDF?
This should probably be disabled for Markdown for example, because trailing whitespace has meaning in Markdown: two spaces at the end of a line insert a <br>
tag. (see https://spec.commonmark.org/0.31.2/#hard-line-breaks)
So maybe, it's better to have a list of file extensions for which this feature would be enabled? Similar to the existing Settings -> New File -> Preferred File Extensions.
Are there any settings you would like to see for this feature? Or just enabled/disable?
Good point, trimming trailing whitespace on save would really be helpful.
This is the standard text selection behavior on iOS—you can see the same in Apple’s Notes app, for example.
To place the cursor in the middle of a word, tap and hold the word to bring up the text loupe, which lets you position the insertion point precisely.
On iPhone, you can also tap and hold the space bar on the on-screen keyboard and then move your finger to move the insertion point more easily.
Thanks for your interest in Textastic for macOS.
The macOS version and the iOS/iPadOS version of Textastic are two separate apps for two different platforms with different feature sets (the macOS version doesn't have remote connection support), so it would require two purchases if you want both.
Unfortunately, SMB connections in the Files app have been very unreliable for me in the past.
It works fine immediately after connecting to an SMB server, but as soon as it gets disconnected, it won't reconnect reliably. You need to recreate the SMB connection in the Files app and add it to Textastic again to make it work again when it is in this state. This is something out of my control that Apple has to fix.
I wouldn't recommend using SMB shares with the Files app. I have seen the problem you are describing as well as hangs when using the iOS Files app's built-in SMB client (not related to Textastic, reproducible in other apps like iA Writer).
Instead, I recommend to use Textastic's built-in SFTP client:
https://www.textasticapp.com/v10/manual/remote_servers/sftp_ftps_ftp.html
If you need live editing, I can recommend the app "Secure ShellFish" which allows you to connect to SFTP servers from the Files app and works great with the external folder feature of Textastic (the app's "Pro Unlock" is required for uploading changes):
https://apps.apple.com/de/app/ssh-client-secure-shellfish/id1336634154
Are you using an SMB connection in the Files app?
This is now fixed in Textastic 10.6.
Customer support service by UserEcho
Maybe you can copy it as text, create a new file using the + button in Textastic and paste it.
Or tell Gemini to provide the code as a text file you can open in a code editor like Textastic.