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.


    Pythonista 2.1 problem

    Pythonista
    2
    3
    2152
    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

      After upgrading to Pythonista 2.1 many of my scripts no longer run. Popular scripts such as "Editmenu.py" no longer work. The corresponding view no longer shows. Its excellent "find and replace" does not work anymore because "editor._set_toolbar()" has been removed. Is it possible to downgrade to version 1.9?

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

        I am not sure that Editmenu was ever really all that popular... but most of its features were superceded by improvements in the pythonista user interface. For instance, pythonista now includes a search and replace functionality built in, which is much better than the one we implemented in editmenu. Tabs are also present in the new interface.

        The functionality of editmenu which is probably still missing is the "run highlighted code" and the convienent copy/paste shortcuts. Technically it would be possible to simulate the sidebar using objc...

        Also, it is possible to "hack" the interface to add custom buttons to the titlebar, see for example, using objc_util:
        https://github.com/jsbain/objc_hacks/blob/master/apphack.py

        A few other things changed in 1.5 to 2.x but mostly old scripts can be fixed in a few lines... you will find programs such as stash more powerful in the 2.x series.

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

          "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. 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
          • First post
            Last post
          Powered by NodeBB Forums | Contributors