Your comments

Ah, ok, I see. I thought "replace" was a functionality provided by Pythonista.

I put it on my todo list but need to investigate further.


Is there actually such a pythonista url handler already? I couldn't find a "replace" command in their url handler docs.

That's weird. It should only close when you actually tap in the keyboard corner to close it.

Just do a single tap (not a double tap!) on the editor to open the keyboard.

Actually, Textastic does save the last selection/cursor position and scrolls to that position when opening a file.

The textastic:// url scheme works like that:

  • Open a website in Safari
  • Tap on the address bar
  • Replace http:// with textastic://
  • Hit Return
  • Textastic will open and download the file at the url

You can use this feature to view the source code of a website or download arbitrary files in Textastic.

You can already create custom templates. This is explained at https://github.com/blach/Textastic-Customization