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
    840124
    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.
    • cvp
      cvp @ihf last edited by cvp

      @ihf said:

      The menu that permits setting bold, italic, etc. is no longer coming up.

      You know that some text needs to be selected first.
      If so, and you select "bold..." in the popup menu, that works.
      But the "bold" key does not work.

      It seems that from V01.01 where I had put a modification to share the same InputAccessoryView for all rows prevents the keys of keyboard extra row to work. Not only the "bold" key but also promote
      and demote keys.

      Thus next version will remove this modification.

      V01.03 and outline.versions with

      Version V01.03
        - remove sharing of one InputAccessoryView (set V01.01) which prevent keys of
          keyboard extra row to work
      
      1 Reply Last reply Reply Quote 0
      • JonB
        JonB last edited by

        I'm curious why that broke -- are you holding onto a reference to the text view itself? That seems dangerous unless you store tableviewcells after creation so that you can reuse the actual cell and its contents when cell_for_row is called.

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

          @JonB sorry, never seen this post. I'm in holidays for some days. i'll answer this weekend

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

            @JonB said:

            are you holding onto a reference to the text view itself?

            No but I store the TableView row into the InputAccessoryView. Then, when a key is pressed in the supplementary keyboard row, I can call textview_should_change with the right row which is the index in TableView. And I don't need anything more, even the TextView it-self.

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

              @cvp when I type a new outline item, and I hit the return, the keyboard disappears. I think it would be better if the keyboard remained so that you could continue typing since you are positioned on the next outline line. Does that make sense?

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

                @ihf said:

                when I type a new outline item, and I hit the return, the keyboard disappears. I think it would be better if the keyboard remained so that you could continue typing since you are positioned on the next outline line. Does that make sense?

                Yes sir. I had remarked this problem yesterday, sorry for you. I'll try to correct it tomorrow.
                That should be an old bug and I can't remember if I have already tried to solve it, and if yes, obviously without success

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

                  @ihf V01.04 and outline.versions with

                  Version V01.04
                    - correction of bug "keyboard was disappearing after an enter 
                      to create a new outline row"
                  

                  This bug was not so old, it should have appeared from V00.96 when I removed the undo/redo process and a part of this process variables is checked for cursor process.

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

                    @cvp This is a (low priority) idea for the wish list: I sometimes want to read my outlines on the Mac. What I do now is save them in pdf or some other format that the Mac understands. This works fine but I have to remember to do it after any change so that the outline will be up-to-date. A reader script in python would permit me to view an outline on the Mac or on anything that runs python and has access to the iCloud files.

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

                      Given that this is the 1,002nd entry in this thread, perhaps it would be good to stop adding to this thread and create a new one to continue the discussion.
                      The Forum software is not very efficient at buffering up and paginating tons of content especially when it contains images. Thoughts?

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

                        CONTINUED AT https://forum.omz-software.com/topic/7248/outliner-with-drag-drop-reordering-part-2 ...

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