omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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 - part 2

    Pythonista
    9
    589
    180502
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ihf
      ihf last edited by

      @cvp In my limited experience using Pyto, it is buggier than Pythonista. However, given that the Pyto creator is maintaining it and it is OSS, there is some hope that it will become more reliable. I agree with your plan and that this was not meant to be a lifelong project :-)

      I wish you a very enjoyable vacation!

      1 Reply Last reply Reply Quote 0
      • ihf
        ihf last edited by ihf

        @cvp There may already be a way to do this that I have forgotten but I wanted to take some text and paste it into Outline such that each line (delimited by EOL) would be a new outline element. In other words, if I paste in 5 lines of text to a new outline, I would get elements 1.0 thru 5.0. Related question, is there a way to take one element and break it into multiple elements?

        cvp 1 Reply Last reply Reply Quote 0
        • cvp
          cvp @ihf last edited by cvp

          @ihf no, sorry, that does not exist. I'll think about it

          Related question, is there a way to take one element and break it into multiple elements?

          No but that could be a good new functionality

          1 Reply Last reply Reply Quote 0
          • ihf
            ihf last edited by

            @cvp I sometimes take notes in another app and I want them to be an Outline so an easy way to import them would be very useful.

            cvp 2 Replies Last reply Reply Quote 0
            • cvp
              cvp @ihf last edited by cvp

              @ihf I understand the request, I already think about it, but so long time I did not touch this script 😢

              1 Reply Last reply Reply Quote 0
              • cvp
                cvp @ihf last edited by

                @ihf You know that there is a way to copy selected lines of an outline and paste them via the popup menu.

                I'll try to reuse this code but I need to differentiate both cases. Not a little work

                1 Reply Last reply Reply Quote 0
                • ihf
                  ihf last edited by

                  @cvp The thing I really miss is undo/redo but I know you said that was a major issue.

                  cvp 2 Replies Last reply Reply Quote 0
                  • cvp
                    cvp @ihf last edited by cvp

                    @ihf yes, I can understand but I think that you can forget it, unfortunately because it had never correctly worked with TableView where I have to delete/insert rows, but in the future, if ScrollView work with my own array of rows, who can say...

                    1 Reply Last reply Reply Quote 0
                    • cvp
                      cvp @ihf last edited by cvp

                      @ihf new V01.33 and outline.versions with

                      Version V01.33
                        - add new "paste_text" option in popup menu to add multiple rows after the
                          selected one by copying several lines from another note/text
                      

                      1 Reply Last reply Reply Quote 0
                      • ihf
                        ihf last edited by

                        @cvp I tried copying some text from another notes app and went to Outline. It pasted the text perfectly. However, if I click on the outline level to get the menu (on iPhone) it no longer displays properly.

                        cvp 1 Reply Last reply Reply Quote 0
                        • cvp
                          cvp @ihf last edited by cvp

                          @ihf said

                          it no longer displays properly

                          What does that mean ? Example? Perhaps I need to shorten the line if too long

                          1 Reply Last reply Reply Quote 0
                          • ihf
                            ihf last edited by

                            @cvp I created a new outline and when I touch 1.0 to get the menu I got this:

                            https://i.imgur.com/JXu9PbE

                            cvp 1 Reply Last reply Reply Quote 0
                            • cvp
                              cvp @ihf last edited by

                              @ihf Could you try to copy a text of some short lines, I think the problem comes from very long lines

                              1 Reply Last reply Reply Quote 0
                              • ihf
                                ihf last edited by

                                @cvp It worked and displayed the Paste option with a few words and ...although it added 4 extra blank outline elements after the text.

                                cvp 1 Reply Last reply Reply Quote 0
                                • cvp
                                  cvp @ihf last edited by cvp

                                  @ihf said

                                  although it added 4 extra blank outline elements after the text.

                                  Don't understand. Do you mean that you did not copy some lines that are pasted?

                                  I'll shorten to max 20 characters the first copied line in the menu but I'll paste all full copied lines

                                  1 Reply Last reply Reply Quote 0
                                  • ihf
                                    ihf last edited by

                                    @cvp It worked fine when I copied several shorter lines (the extra lines were actually in the copied text so that is not a bug). I guess the problem is that when the lines are long it ruins the menu display.

                                    cvp 1 Reply Last reply Reply Quote 0
                                    • cvp
                                      cvp @ihf last edited by

                                      @ihf see remark in edited previous post

                                      1 Reply Last reply Reply Quote 0
                                      • ihf
                                        ihf last edited by

                                        @cvp that would be great. I'll test it after you make the change.

                                        cvp 1 Reply Last reply Reply Quote 0
                                        • cvp
                                          cvp @ihf last edited by

                                          @ihf new V01.34 and outline.versions with

                                          Version V01.34
                                            - shorten to maximum 20 characters of the first copied line but paste
                                              all full copied lines
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • ihf
                                            ihf last edited by

                                            @cvp C'est parfait! Merci!!

                                            cvp 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB Forums | Contributors