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.
Outliner with drag/drop reordering
-
@cvp I just need to tell you again that what you have built is amazing and, notwithstanding any bugs, I am using it for real outlines every day. I very much appreciate that you have continued to try to fix everything that comes up as well as continue to enhance it.
-
@ihf said:
AttributeError: 'Outliner' object has no attribute 'cursor'
Will be solved in next version
-
@ihf said:
I just need to tell you again that what you have built is amazing and, notwithstanding any bugs, I am using it for real outlines every day. I very much appreciate that you have continued to try to fix everything that comes up as well as continue to enhance it.
Too kind.
-
@ihf said:
the keyboard is hidden and the floating menu appears but points to the middle of the outline.
I think that the problem comes if you ask the popup menu while the keyboard is there on an automatically scrolled up row. The program displays the popup menu above the keyboard, then the keyboard disappears and the pop menu stays at the same position while the automatic scrolls down the row at its original place....
Not easy to solve.
But, even if the popup is not at its right location, it refers to the right row as shows it it's title
-
@cvp Yes, I should have said that. The line number in the popup is correct and this is not a big problem.
-
@ihf could you wait that the keyboard disappears and the line scrolls back to the bottom before asking popup menu, just to try
-
@cvp Just to be clear ...If i open outline now and do text insertion on last item, hit return, a new item is created that is hidden by the keyboard. If I scroll the outline I can see it and if I then bring up the pop-up menu, it comes up but in the middle of the outline (i.e., not at the item that is being edited). If instead, I hide the keyboard and then select the popup menu, it points to the correct item.
-
@ihf said:
If i open outline now and do text insertion on last item, hit return, a new item is created that is hidden by the keyboard. If I scroll the outline I can see it and if I then bring up the pop-up menu, it comes up but in the middle of the outline (i.e., not at the item that is being edited). If instead, I hide the keyboard and then select the popup menu, it points to the correct item.
Understood, thanks for the clarification, don't know yet how to solve it.
-
@ihf said:
If i open outline now and do text insertion on last item, hit return, a new item is created that is hidden by the keyboard
I can't reproduce this problem, could you post a print screen specifying where you tap enter
-
@cvp does this help: https://vimeo.com/580319736
-
@ihf could you also post the print screen after you have pressed enter because, for me, pressing enter shows the next line
-
-
@ihf thanks but weird because for me the entire new line is visible.
One bug more not easy to solve because not reproductible on my iPad. 😢 -
-
@ihf State of the art
I'm a little tired to debug some annoying bugs, then, here a quick summary of where I am in this program.
-
bugs
1.1 your description
"If I scroll the outline I can see it and if I then bring up the pop-up menu,
it comes up but in the middle of the outline (i.e., not at the item that is being edited).
If instead, I hide the keyboard and then select the popup menu, it points to the correct item."not vital, workaround: do not ask popup while keyboard is active
1.2 your description
"If i open outline now and do text insertion on last item, hit return,
a new item is created that is hidden by the keyboard."not vital, workaround: manual scroll nb: on my device, I only get it for landscape on small lines number
-
new functionalities
2.1 2nd argument of program = directory of 1st argument file to open
thinking in progress
2.2 multiple undo
thinking in progress **question** : average size of your files?
2.3 open iCloud file even if not yet downloaded
thinking in progress workaround: use Files app for first downloading file
2.4 support images
**questions** : This program could support images, that's sure,
but images could not be integrated in the text file, so you would not be able to print the text
with images by normal printing tools.
So, I would need to store them in the .content file, and the printing of text with its integrated images could only be done by this program...
And that's a big modification.
Assume we support images, we could start the process by an additional option in the popup menu. This option could allow to pick an image file. But do you want images as separate outline row
or do you want an image integrated in the text of a row?
How do you want to specifiy the size of the image in the text?2.5 extension in 1st argument already supported **question** : when the program shows all the files, other extensions are grayed, do you want to hide them?
-
-
@cvp Something has happened on my iPhone that I have never seen before. If I start Pythonista, I cannot even see the outline.py script. That is if I manage to get to the list of scripts (don't even get that far most of the time), it looks like it is loading the script and never finishes. I have force restarted, Pythonista, the iPhone many times and I cannot get it to work. I'm afraid my testing (and for that matter any use of Pythonista) will be on hold until I can figure this out. I could delete the app altogether but then I will lose all data. I am at a loss as to what to do.
P.S. While writing this the following appeared on my phone: https://i.imgur.com/zFD9Y79 What the heck?
-
Open the url pythonista3:// which will open the app in "safe” mode.
-
@ccc Thanks!! I think something happened when I downloaded the latest version of
outline.py
. The link is incorrect and when I did the wget to download it, I must have messed up pythonista. I am back to where I was but with the latest version. I should just have a script that downloads the latest version since, AFAIK, the link does not change. -
@ihf said:
The link is incorrect
You're right, the link pointed to the list of all my Pythonista scripts on GitHub. Sorry for that.
Small error, big effects. I didn't know that you didn't first visually follow the link before downloading.I can't promise that this error will never occur anymore , thus tap on it first to check you arrive on one source code.
The link is V00.54
-