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
-
@haribol thanks but only if I meet more fun than (my) bugs 🙄
-
-
-
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 -
-
@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. -
@ihf said:
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
-
@ihf New V00.11 with correction of some bugs. please be sure to install it before any new tests.
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, sorryPlease 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
-
@ihf Perhaps I become too old for this stuff
-
@ihf New V00.12 available with
Version V00.12 - bugs - full review of tab process and checks - full review of backtab process and checks - correction of bug "typing a tab or backtab before an outline was now allowed"
You may restart tests about tab and back tab and their automatic renumbering.
And if it seems ok, you can test drag and drop (renumbering part after delete original lines not yet full ok ) -
@ihf Weather is very hot here, I don't want to debug more today.
But some free time for some questions about new functionalities or updates:- you know that you can use standard copy and paste. It would be easier for me to not allow paste of text containing one or more CR. Is it acceptable for you?
- when I present the moving box, the text has a particular font and font size, but would you prefer that I use the same font and font size as in the TextView?
- you know that drag and drop is a move, buT do you want also to support copy of some lines and their outlines. If yes, how to choose move or copy? I could ask a question just at drop.
- you had asked me if I drag the selected line with its children. The answer is yes but do you want to support with and without children. If yes, how to choose it?
-
- I think that would be fine. I rarely need CR within an item
- Yes, I think the same font would be better
- For the drag/drop UI only move but copy/paste with the usual menu.
- I think always move with children (but not siblings)
-
@ihf said:
For the drag/drop UI only move but copy/paste with the usual menu.
What do call the usual menu?
Standard menu of Apple copy/paste =select....
Or the popup menu of the -
I was referring to the standard Apple copy/paste menu.
-
@ihf but tHe copy with the standard menu does not allow the drag operation of a line and its children