Forum Archive

Custom copy/paste menu

o_xkenshin

Hi,

I am trying do make a notebook in pythonista, with the existing editor and objc_utils.
I wonder that is it possible to custom the copy/paste menu(the menu that pop up when selecting texts in editor), so that I can add more buttons/scripts there? I have searched in forum but only find way to custom tool buttons or shortcut buttons.

JonB

Somewhere I have an example or a custom UIEditMenu item, using my swizzle function. It is not super robust, iirc, and had to be installed in each editor tab -- and when switching tabs causes a tab to be reloaded, the changes got lost.
I'll see if I can find an example..

If you have an external keyboard, blackmamba offers lots of shortcuts and custom menus.

adrius42

Have you tried using Google to search the forum? The forum search function is not as effective as Google. Just a thought...

JonB

@adrius42 yep, just not sure I ever posted this to the forum.