Pythonista 2.1 problem
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?
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:
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.
"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.