Outliner with drag/drop reordering
@ihf when you download my script, do you change sometHing?
I did not knowingly change anything but I decided to test on an iPhone so it is possible i lost something.
Traceback (most recent call last):
File "/private/var/mobile/Containers/Shared/AppGroup/6CCAAFF1-947E-4DC8-B33B-58EE87A0823C/Pythonista3/Documents/outline.py", line 1869, in <module>
File "/private/var/mobile/Containers/Shared/AppGroup/6CCAAFF1-947E-4DC8-B33B-58EE87A0823C/Pythonista3/Documents/outline.py", line 1865, in main
mv = Outliner()
File "/private/var/mobile/Containers/Shared/AppGroup/6CCAAFF1-947E-4DC8-B33B-58EE87A0823C/Pythonista3/Documents/outline.py", line 527, in init
NameError: name 'doubletap' is not defined
@ihf perhaps you did not install the last version of gestures in your iPhone
@cvp I was virtually certain that I had but I just redid it and it seems to be working again. I find that doing a long press on the iPhone, especially given the size of the font, is rather difficult. I just created an outline and did some moves and ended up with the following:
@ihf did you some backtab? I know that it generates still bad renumbering.
Or you send me a video like usual.
But, I don't work anymore today
. I find that doing a long press on the iPhone, especially given the size of the font, is rather difficult
Sure, if you like it, I could add the move option in the popup menu that you get by a double tap.
I was virtually certain that I had
It was on your iPad, I guess.
@cvp running the latest version. I am having a lot of trouble selecting portions of the outline to move. Is there a trick? I am getting the ordinary apple cut/paste menu when I long press. Perhaps the font needs to be larger as well (or my fingers are too large :-)
@ihf Nothing has changed about that but you have a button to increase the font size...
my fingers are too large
I've sometimes the same problem with my iPad. There is a mix between long press and the way to get select then copy/paste menu.
If you imagine another way, like an option move in our popup menu called by the double tap, or any other new button, I could change that, and keep also the long press.
But you have to decide.
Version V00.14 - bugs - correction of bug "backtab on a line did not also backtab its children" - correction of bug "drop after last line didn't do anything" - full review for renumbering for - "backtab"
I've cleaned my own bugs list, but be sure there are still a long list of bugs.
But, now up to you to test and to feedback the bugs with, if possible, a short video when reproducing them. Please, if you meet one bug, don't stop your tests, script is long then you can go trough other parts of it.
Some questions: do you want some new options in the popup menu:
- move line and its children, to replace long press
- copy line and its children, like move without deleting original lines
- delete line and its children
- delete line without deleting its children, move them back one level
@cvp I will test the new version later this morning but my problem is that getting either the double tap or the drag function to work is hit or miss with it working only sporadically. I am afraid that adding to many options to the menu may make it rather confusing and awkward but let me test some more with V00.14.
@ihf ok, if you imagine another way, like a button per line like other outiner apps, tell me
@ihf when you read this, please, reload the V00.14, move process was commented, sorry
@cvp I just tried with v0.0.15 but was not able to get either double tap or long press to work at all.
@ihf wow, it works for me... No error messages?
I can't give an advice... Restart Pythonista?
I meant to mention that there is bug where if you create a file, never save and start rhe program it gives an error about the .prm file not finding the file.
gives an error about the .prm file not finding the file.
Not a bug, normal warning foreseen if you manually delete a file that is indicated in the .prm for the restart.
If you press ok, you will start the script normally.
managed to get into this state:
I would like how to reproduce it.
Because, you have two 4.0, and that is abnormal except if you ask it via the popup option.
And when you meet a crash, please try to get the full traceback, thanks
@ihf I hope that even if you meet one bug, you don't stop your tests.