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

    Pythonista
    10
    1003
    660267
    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

      Yes, it would only be at the beginning of the line that it would change the level/indentation.

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

        @ihf Just to show'that I don't forget you. But I don't yet have a version that I could give you for initial tests. Only normal characters, tab and linefeed are "supported" (this word does not mean bugfree).
        As soon that A version supports backspace, I'll post it, only to be sure I don't go far from your hopes.

        For info, outlines will be colored (via AttributedText) only to differentiate with typed characters.

        The format button is only there to be nicer, actually only decimal is supported

        Version size = 231 lines, just to prove it does almost nothing.

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

          @ihf 30 minutes later, it now supports (partially?) alphanumeric format

          But quid if higher than Z,z,....?

          don't worry actually about alignment of outlines, not yet even thought

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

            @ihf and now, traditional (I postpone the moment when I'll have to develop the backspace πŸ™„)

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

              @cvp, suggestion: use TableView for easy reordering, swipe left & right to change outline level.

              Copying would need extra support, though.

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

                @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.

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

                  @mikael said:

                  swipe left & right to change outline level.

                  Normally, tab increases level
                  Left delete decreases level

                  Quicker than swiping, I think

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

                    @cvp, true, if you have an external keyboard. iPhone keyboard does not even have a tab key. 😁

                    cvp 3 Replies Last reply Reply Quote 0
                    • cvp
                      cvp @mikael last edited by cvp

                      @mikael is that not a tab key? Ha ok, sorry, this is an iPad...

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

                        @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

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

                          @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 1 Reply Last reply Reply Quote 0
                          • mikael
                            mikael @cvp last edited by

                            @cvp, sure, there’s pros and cons, and @ihf’s use case should provide some guidance here.

                            But you can have a TextView that resizes to fit the paragraph, and TableView rows that also resize to their contents.

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

                              @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 😒

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

                                Shift tab is often used to do the back tab (demote) function.

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

                                  @ihf You see that I don't forget you...I'll send some screen copies to prove it πŸ˜‚

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

                                    @ihf

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

                                      @ihf

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

                                        @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

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

                                          @ihf last for today, I stop until tomorrow

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

                                            @ihf because, you insist πŸ˜‚ Github but don't come cry, it is full bugs and limits

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