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
-
@ihf said:
Unrelated, i just did a few drags using the latest version and got this.
https://imgur.com/a/RCH9NQoI am interested to receive photos of before (including the moving box and the red line showing where you will drop) and after the drop
Like in this example, you see, all has been ok, renumbering included
-
@cvp I am not quite sure how I created that outline and got the error but here’s another video which gives a list index out of range. It may or may not be related. There is a small problem I found where if I don’t save the outline and then the next time I try to create a new outline with the same name it says that the file already exists but if I try to load that empty file I get an error.
https://vimeo.com/562914682
I will try to be more systematic and record what I do before getting an error. -
@cvp different error: https://vimeo.com/562920493
-
@ihf New V00.13 available. I've spent a lot of time for debugging, version should be cleaner but there are still some renumbering bugs. Also, a new functionality to see easily where are located the original area of dragged lines.
Enough for today...
Version V00.13 - bugs - correction of bug "new file was saved as first use, even if not asked" - correction of bug "enter in font size did not close the textfield" - correction of bug "error 'list index out of range' at end of file" - correction of bug "error 'list index out of range' in renumbering" if last line has a CR" - full review for renumbering for - tab" - "lf " - "backtab" still in progress - "dropped lines" - "removed lines of dropped original" - text in moving box will have same font and font size as TextView text - support "show original area" - new general setting - display or no a coloured rectangle on the original dragged area
-
@cvp Line 1150 tap is not defined. Did i lose something?
-
@ihf did you get an error, if yes, post the full traceback
-
@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>
main()
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
doubletap(self.tv, self.doubletap_handler)
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:
1.0_a
2.0_g
3.0_cc
3.0_b
3.2_dd
3.2.1_eee
3.2.2_fff
4.0_h -
@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
-
@ihf said:
. 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.
-
-
@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...
-
@ihf said:
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. -
@ihf New V00.14 available, with
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