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
-
@mikael I had hesitated because this choice has also other consequences...
I have already begun (400 lines) with a TextView.
But you are perhaps right.
I have to choose quickly before I'm to far.
I'll decide this week-end, I hope, because enough busy with my smala visiting me. -
@mikael said:
swipe left & right to change outline level.
Normally, tab increases level
Left delete decreases levelQuicker than swiping, I think
-
@cvp, true, if you have an external keyboard. iPhone keyboard does not even have a tab key. 😁
-
@mikael is that not a tab key? Ha ok, sorry, this is an iPad...
-
@mikael and user does not really need a left tab key.
Left tab is used to set cursor at previous tab, that's not the case here, it could need to delete a tab to decrease level, thus left delete is good for that -
@mikael and another problem is that you need a TextField at each row...
Sincerely, except move/drag features, I'm not sure of which is the best. -
-
@mikael Agree, not easy to choose. I'll actually go on with TextView until I meet to much problems.
Sure TableView could be easier for some functionalities.
You disturb me because I had hesitated two days before I took my decision 😢 -
Shift tab is often used to do the back tab (demote) function.
-
@ihf You see that I don't forget you...I'll send some screen copies to prove it 😂
-
-
-
@ihf but I don't dare to send you this current version because a lot of open bugs.
But, if you want to have it, it is ok, but it is very far to be clean and to offer full functionalities -
@ihf last for today, I stop until tomorrow
-
-
@cvp I am very impressed by what you have working already!
I presume that an external keyboard is required at this point since there is no tab otherwise. I am able to create an outline (of course, without shift-tab I can’t go up a level) and moving items is not there but it’s a great start. Obviously , there is a need to be able to save and read the outline. -
Ordinarily, I would expect that tab (or shft-tab) would promote (or demote) a line regardless of when it is hit. In other words if I am on a line and I do tab it would indent and change levels (likewise but reversed for shift -tab). If tab is needed in the text for some reason then promote/demote buttons could be used instead of tab but I have never needed tabs in my text.
-
@ihf I said you that this initial version was far from perfect. Of course we will need file new/save/load functions but they are not yet needed for testing thé édition part. Please, don't rush me
I didn't know that you used an iPhone.
Thus, we need to add buttons for tab and shift/tab. What do you prefer:- in the title bar of the script
- in a supplementary row above the keyboard?
Please let me know and you will need to be patient: you will not get all functionalities briefly
-
@ihf example of what it could be on iPhone SE (small)
Icons would be at your own choice among iOS SFSymbols
-
@ihf If I can use shift-tab anywhere in a line, it is sure I can't use left-delete as key.
Thus I need to have a "new" key (like in my example just above).
So I also can use another key than tab for indentation, thus ok also in my example above.
So normal tab and normal left-delete will keep their original signification.Ok with that and this additional row of specialized keys?