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.


    A request for JonB

    Pythonista
    4
    6
    4981
    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.
    • tileyon
      tileyon last edited by

      The following is a comment on a reply you posted to one of my recent posts titled "Pythonista 2.1 problem". Your reply ended with the line below:

      "A few other things changed in 1.5 to 2.x but mostly old scripts can be fixed in a few lines..."

      It probably is that easy for you. Therefore, I have a simple request. Please update "editmenu" to work properly with Pythonista 2.1. Maybe You could use your excellent "uicomponents" to do so. By the way, a few of those ui routines do not work either in version 2.1. I also downloaded "objc_hacks" and it shows wonderful possibilities in version 2.1. Inserting ui elements in the interface is a fantastic feat. You could do marvels with the "find and replace" module in "editmenu" by using it. I do not think that "find and replace" in the new Pythonista editor is better than yours. Visually and functionally "editmenu"'s "find and replace" is way more appealing and functional than Pythonista's. Using two buttons for "indent and unindent" blocks is much faster and more convenient than the long press on a single button. In one of your recent post you also stated that you will update "editmenu" using overlays. Thank you very much for your insightful reply and your outstanding published work. Hoping that you will take my request into consideration, I salute you.

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

        Tagging @JonB

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

          I of course saw your original request, since I replied to it there.... No need to start a new thread.

          tileyon 1 Reply Last reply Reply Quote 0
          • abcabc
            abcabc last edited by

            Here is a simple alternative to editmenu. May be you can use this till @JonB comes up with a proper editmenu utility using objc. (I am also a fan of JonB's editmenu utility)

            https://gist.github.com/balachandrana/819a324f840dd839b1650aa0bac4402d

            It uses JonB's editmenu code for the button actions. Since sidebar is no longer available, menu items are shown in a panel. You have to put the panel in "sidebar" mode. (Tap the second button on top left corner of console screen.) Some discussions regarding this are as follows:

            https://forum.omz-software.com/topic/2692/ui-views-can-still-be-presented-in-sidebar-mode-in-pythonista-2-0-sort-of

            https://forum.omz-software.com/topic/2655/ui-present-sidebar-not-working-in-2-0

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

              @JonB I am sorry if this post seems rude. I have been hanging out in this forum for less than three weeks. I am still learning my way around. I did not realize I could tag your handle and I am still not sure if you will be notify if I do so.

              1 Reply Last reply Reply Quote 0
              • tileyon
                tileyon @abcabc last edited by

                @abcabc Tank you very much for your tip. It was very informative. The panel view reveals itself to be useful to host "editmenu"' s routine. I moved to python about a year ago from C++ and delphi. I was looking for a language that could easily be ported in source code to all five major platforms (MS Windows, OSX, iOS, Android, Linux). I developed the C.O.D.E. (Code Once Deploy Everywhere) concept. Using Pythonista on IOS and Kivy on the other platforms I finally developed an adaptable structure that could be used in all these platforms without modifying the Python scripts, not even the ui scripts. However, I do not go into learning the details for the ui in each environment since they can be changed by the dev at anytime. This is why your reply was so valuable.

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