A request for JonB
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.
I of course saw your original request, since I replied to it there.... No need to start a new thread.
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)
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:
@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.
@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.