Textastic¶
- class apps.Textastic¶
Actions for Textastic.
- append(location=None, path=None, name=None, text=None, snippet=None) str¶
Open an existing file or create a new file and append text. If neither the text parameter nor the snippet parameter is specified, the text to append will come from the clipboard.
- new_file(location=None, path=None, name=None, text=None, snippet=None) str¶
Create a new file in the local file system or in iCloud. If neither the text parameter nor the snippet parameter is specified, the text to append will come from the clipboard.
- open_file(location=None, path=None, name=None) str¶
Open an existing file in the local file system or in iCloud. If the file doesn’t exist, calls the url from the x-error parameter.
- replace(location=None, path=None, name=None, text=None, snippet=None) str¶
Open an existing file or create a new file and replace its contents with the specified text. If neither the text parameter nor the snippet parameter is specified, the text to append will come from the clipboard.