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.
Search text in your scripts via help of popup menu
-
OUTSTANDING!
i have been missing the abilitynto lookup my own code like this from my pc IDE's i used to use for .net Thanks!
-
@mikael said:
Sort of acts like a help as well, right?
Yes and no.
It is used like an help but it does not give any help, it is only a way to scan your sources to find a text. Not sure this code would be used so. Perhaps it could be easier to have the search as a Pythonista tool. But, I've had some fun at least 😀
-
garenteed EVERYDAY use from this guy lol
-
@cvp got a
NameError
when searching a local method variable by accedent
screen shotEDIT:
Well after another app restart itbstarted working again. not sure what happened .
-
@stephen yes, bug....
def setSearchResults_(_self,_sel,_search_results): from objc_util import ObjCInstance, ns
Import * not allowed... ns forgotten
Import in def needed because script executed once but defs can be called later and import of module no more in memoryGitHub corrected
-
@cvp awesome ty! this module has already helped alot
-
@stephen Thanks but I'd not be astonished if you meet other bug(sss) 😢
-
@cvp heads up sems like GitHub update did not take
Eh bugs happen. tells you it is doing somthing 😉
-
A best idea would be to add a new menu option in the popup menu for searching in sources, without doing that in the help menu.
But I don't know how to do that.
Perhaps @jonB who already did that in the past but also said that it was only for one edited tab. -
-
@cvp appollagize 😅 looked at wrong line. been a day..
-
@cvp Interesting! Thanks for sharing!
-
@cvp. Helpful! Thank you.
-
Thank you for sharing this tip about searching text in your scripts with the help of the popup menu. It's really helpful to have a way to easily scan your sources and find specific text. I can definitely see how this could be really useful while working with scripts and popups.
I'm going to keep this tip in mind while I'm working with popups in the https://promolayer.io online maker. It's always great to have some extra tools and techniques at your disposal to make your work more efficient and effective.
Thanks again for sharing and helping out!