Outliner with drag/drop reordering
I am looking for an outliner tool (app) that would permit me to create an outline using either the Roman numeral (I. A. a., ii. ) or numeric format (1. 1.1 1.11 1.111). and that would support drag and drop reordering of items. I have searched unsuccessfully for such an app. I think this ought to be possible with Pythonista but I am not skilled enough to do that. Has anyone done this with Pythonista or seen an app to do this?
Not a strong preference but probably vertical
I'll provide settings (new functionality) and this will be the first one: horizontal or vertical...
what you see here shouldn’t be possible https://imgur.com/a/TplSrjF?s=sms
As I said, dropping is not yet programmed and standard process pastes entire text, including outlines seen as text, not as outline, reason why they are blue instead of red.
Thus, not a real bug because not really programmed. No panic for this one
@cvp Mai g =moving
@ihf some questions:
1 Is drag and drop used only for move or also for copy?
2 If yes, how do you want to differentiate both?
3 when you type a long text without CR, bigger than screen width, do you want the same alignment on the next line, without outline?
4 do you want a way to pass to next line, without outline but without long text?
If you want some little esthetic modifications (color, size, ....) don't hesitate.
If you want additional functionalities, don't hesitate to tell me, sometimes I want some fun when I'm too long busy on debugging 😀
If you are not in a hurry for a finished app, don't panic, we will overcome.
Double-tap is fine but sometimes it seems to work and other times it just brings up the cut/copy/paste
I think it depends if you have your keyboard displayed or not.
Copy/paste menu is the standard menu if you tap on a selected area
Perhaps, it could be difficult to live with
- double tap for popup menu
- long press for dragging
- single tap for selecting
- single tap on selected for copy/paste menu
- single tap to set cursor
Could you, please, at least try new functionalities, not entire tests.
Version V00.08 - no more blue dot at top/left of moving box - new settings button in main menu - support "popup menu orientation" - new general setting - support both vertical and horizontal orientations of popup menu - bugs - correction of bug of two successive tabs on same line - support of drop - check no drop of a box of text into it-self - support of drop for move operation only nb: draft process, several renumbering bugs subsist, be patient - support of "force a new line with same outline" - new general setting - new option in popup menu - with special icon if horizontal popup menu - generates an outline, same as previous line - no renumbering of next lines will occur nb: long lines automatically (by ui.TextView) break and should generate a same outline on next line, but this is not yet supported. Force same outline functionality may be a workaround - support "same outline invisibility" - new general setting - support both invisible or light gray (tests) same outline - begin of future (eventual) development for details of outline format types - better parametrization of format types - accessory info button in format types popup menu gives more details
Can't help but wondering, if anyone has looked at or considered the apps Dynalist or Workflowy. Both nicely featured outliners. Not to diminish the work done here, but thought I'd mention it.
I used to use Dynalist to keep all my notes and to-dos for a while; ended up going back to using Markdown files in a cloud folder, with Obsidian on laptop/desktop, and Editorial on mobile (which I purchased years ago). Have been stable with this setup for a while and like it quite a bit; experimenting a bit more with workflows and python in Editorial lately, and also Pythonista.
Anyway, thought I'd at least mention those, in case it's helpful.
There's another decent outliner I tried, but can't remember the name right now. Will try to look it up later.
@haribol thanks but only if I meet more fun than (my) bugs 🙄
@haribol thanks but only if I meet more fun than (my) bugs 🙄
Haha, can relate. Always nice to have a fun project to work on, while it's still fun, and if it can be a useful project for the future ...
New V00.09 available (normally, you should also read news from V00.08) with
Version V00.09 - bugs - correction of bug of crash when "drop before first line" nb: new renumbering bug has appeared, not yet solved - correction of bug of crash with "'Outliner' object has no attribute 'target'" - hidden but identic (invisible) outlines do not have the font size of hidden - tapping outside textfield (font size, searched text) closes the entire app - same outlines (gray) do not have same font_size as normal ones - moving box - will now contain coloured outlines - the moving box was displayed above the finger position to allow to always see where it would be inserted, but, at the top of the text, the box was outside the screen, thus invisible. Now, this box will be drawn at right of the finger. - search in lines - new main button for searching - display an ui.TextField to enter the searched text - display only lines containing the search text (case,accents non sensitive) nb: displayed lines vary in real time - press enter to close the TextField and come back to full display - review .content file for future improvements like outline hidden, style etc...
Finished for today, promised
@cvp As far as I can tell, neither of the apps mentioned above are able to format the outline in the Legal, Harvard, or other standards. I also don’t know if they allow drag and drop to reorder. I’m not saying that there isn’t an app out there that does these things but so far I haven’t come across it. There are MANY outliner apps available. Some require a monthly subscription, others require logging into a commercial server, But the ones that I know about have all sorts of features that I don’t have much use for and don’t have the features of interest to me. My guess is that Emacs can do the formatting but would lack any GUI. I am amazed as to what @cvp has already accomplished and as long as he is willing to continue working on it, I am happy to provide further feedback.:-)
@ihf Please send me some feedback, even negative, about all new functionalities.
And, I know that there are a lot of bugs in the renumbering.
I'll use next week to try to solve most of them
Version V00.10 - bugs - correction of bug "tab crashes on replaceObjectsInRange out of bounds" - correction of bug "incorrect renumbering lines after CR"
And, now time for sleeping
@cvp I tried creating a simple outline and then moving parts of it using long-press but I did not get very far. (https://vimeo.com/562564194) Perhaps I am making some simple error in use. I also tried reopening an outline and positioned the cursor at the end, hit return, and got an arror "UnboundLocalError" on line 533 (textview_should_change). I will continue to try and see if I can create a simple outline and move parts of it. Does the move take all children of a node with it?
@ihf I your video, I see that you use version V00.05 but the last version I sent you was V00.10, thus you use a very old version.
You have to install each time the last version or you will find bugs, perhaps already solved in a newer version. I'll never be able to reproduce the same problems as you because I don't keep old versions.
Does the move take all children of a node with it?
Yes, as you asked.
For example, here I long pressed on the 5.2 line to get this moving box
Version V00.11 - bugs - correction of bug "characters insertion before an outline was allowed" - correction of bug "CR before an outline was allowed" - correction of bug "CR before a line without outline crashed" - correction of bug "CR at begin of file before an outline was incorrect" - support CR in the middle of a line, with renumbering of following lines
I'm busy to do some tests, really not full time, but I think that when I change one line to correct a bug, I generate two new ones, thus, don't' be angry but it will take some time, sorry for that.
@cvp sorry about that…i downloaded a new version but had an old version open…won’t happen again :-) i tried the new version and when i typed a char on the 1st line, I got an IndexError at line 1088.
@ihf I want to cry... I'm sure this did not occur previously.
Sorry, I get too much problems, I need to correct them.
Sorry, sorry, sorry
Please stop all until I warn you.
I've too much new bugs each time I correct a bug...
I'll try to find the patience to review the whole code, at least this part.
And I'm not so much free this week
Tomorrow: tab key
- at begin of file if empty (actually ok)
- at begin of file if only one line without outline (actually ok)
- at begin of file if only one line with outline (actually ok)
- at first line if outlines 1.0 and 2.0 exist and tab on 1. 0 (actually bug)
- at first line if outlines 1.0 and 2.0 exist and tab on 2.0 (actually bug)
and so on
Sorry to be so slow