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.


    custom ui menu (editor context menu)

    Pythonista
    3
    4
    1877
    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.
    • JonB
      JonB last edited by

      not really a fully baked framework, but i figure @cvp or @mikael can turn this into something more useful :)

      https://gist.github.com/9edea18951d296ca46aca8868791e04e

      this is an example of hooking into the UIMenuController to show a custom menu attached onto the normal Copy/Paste/Breakpoint, etc menu in the editor.

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

        @JonB Thanks a lot, I'll try to understand it in my afternoon

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

          Whaaaaaa. Marvelous. I feel so little and humble after that

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

            @JonB, excellent! The Apple docs lookup is already a keeper.

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