I would probably start by:
- copy-pasting the code to an editor which makes spaces and tabs visible,
- looking quickly for tab/space mixes, and then
- standardising consistently on one or the other.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
I would probably start by:
This may well be a known or fixed issue – Editorial crashes/exits on out-of-range set_selection()
To reproduce:
create an empty file
run a python script workflow action like:
#coding: utf-8
import editor
editor.set_selection(4,4) # out of range - buffer empty
Am I right in thinking that a Select from List interaction can only be achieved as a workflow action ?
(i.e. that I haven't failed to notice an equivalent function in Editorial's Python libraries ?)
thanks,
Rob
Thanks – that's helpful.
The problem is having to sandwich the 'Select from List' between two different Python modules when both populating the list from code and then using its output in further code – having to pass the state of various variables between two modules.
I am doing this mainly with a kind of JSON ping-pong in:
http://www.editorial-workflows.com/workflow/5270117608849408/OZjQ2s3oIyg
which does work, but I wanted to check that I wasn't getting into more complexity than is really needed :-)
I have personally switched off Settings → Check Spellings in Editorial,
but I agree that it would be very helpful for 1.1 to recognise the iOS → Settings → General → Language
distinction between British English and English
(It is well known that the Americans somehow contrived to skip the 19c – the 1840s in particular – and that while this has left them with pleasantly old-school manners, it has also left them with obviously 18c banknotes and spellings ... )
While editing a workflow, button at top right (next to 'Done') > Copy
Creating a new workflow will then offer a "workflow in clipboard" message,
and the option to base the new one on the copy
There's no hurry – this is already an unexpected feast.
( and the phrase 'in this update' sounds like welcome rain :-)
It looks really excellent.
( and my attention is caught by what might just be a disclosure triangle in the upper left corner ... )
Fantastic work ... and it has already transformed the value of the platform
Not sure of the context, and this workflow is probably overkill, but it throws up a menu allowing you to adjust the number of levels in an outline which have hash headers.
See the section on Editorial workflows for the TaskPaper syntax here:
http://www.macdrifter.com/2014/02/the-taskpaper-rd-notebook.html