Search in Script editor
-
- Posts: 88
- Joined: Sun Jan 27, 2019 7:31 pm
- Location: Westende Belgium
Search in Script editor
Could you implement Search in the script editor ?
it will help me a lot when updating some scripts
it will help me a lot when updating some scripts
Bruno
-
- Posts: 88
- Joined: Sun Jan 27, 2019 7:31 pm
- Location: Westende Belgium
- TrianguloY
- Posts: 109
- Joined: Thu Jan 24, 2019 9:46 am
Re: Search in Script editor
I think lukas implemented that on their multitool (can't check now)
-
- Posts: 88
- Joined: Sun Jan 27, 2019 7:31 pm
- Location: Westende Belgium
-
- Posts: 88
- Joined: Sun Jan 27, 2019 7:31 pm
- Location: Westende Belgium
Re: Search in Script editor
So I want inside a script and not on all
And being able to update the script
And being able to update the script
Bruno
- TrianguloY
- Posts: 109
- Joined: Thu Jan 24, 2019 9:46 am
Re: Search in Script editor
Then just open the left menu and "Edit..." the script to open it in any text editor with a search/replace feature.brunoisa10 wrote: ↑Mon Apr 01, 2019 8:28 pmSo I want inside a script and not on all
And being able to update the script
-
- Posts: 88
- Joined: Sun Jan 27, 2019 7:31 pm
- Location: Westende Belgium
Re: Search in Script editor
Ok thanksTrianguloY wrote: ↑Mon Apr 01, 2019 10:15 pm
Then just open the left menu and "Edit..." the script to open it in any text editor with a search/replace feature.
Bruno
-
- Posts: 88
- Joined: Sun Jan 27, 2019 7:31 pm
- Location: Westende Belgium
Re: Search in Script editor
using Office Suite now
but it's so small by default (using Web Display is fine but always switching back to non Web Display when restarting)
do you have any editor with could be better ?
but it's so small by default (using Web Display is fine but always switching back to non Web Display when restarting)
do you have any editor with could be better ?
Bruno
Re: Search in Script editor
I think I will have to resume the TODO list and clean the bug/feature tracker (the existing one is out of date). This kind of feature would be nice but I don't have the time to do it now.
Re: Search in Script editor
I have added this to flyspray to keep track of it, but I'll have to clean the tracker first : https://www.lightninglauncher.com/flysp ... &sort=desc
-
- Posts: 88
- Joined: Sun Jan 27, 2019 7:31 pm
- Location: Westende Belgium
Re: Search in Script editor
Pierrot wrote: ↑Wed Apr 03, 2019 8:12 amI have added this to flyspray to keep track of it, but I'll have to clean the tracker first : https://www.lightninglauncher.com/flysp ... &sort=desc
Thanks a lot
Bruno
Re: Search in Script editor
Looking at this issue I finally understood why @Pierrot considers to abandon lightning.
My thinking was: just add a button which shows an action bar with the search bar in it.
Well - the button is easy, the actionbar is not. LL mostly doesn't allow action bars, and where they are (app drawer), it is a completely custom component.
We'd either have to copy or refactor a large chunk of code (read: do a lot of work) for something which would take minutes to implement on recent android versions.
I might still implement this at some point - just not right now and not as fast as I had hoped.
My thinking was: just add a button which shows an action bar with the search bar in it.
Well - the button is easy, the actionbar is not. LL mostly doesn't allow action bars, and where they are (app drawer), it is a completely custom component.
We'd either have to copy or refactor a large chunk of code (read: do a lot of work) for something which would take minutes to implement on recent android versions.
I might still implement this at some point - just not right now and not as fast as I had hoped.
- TrianguloY
- Posts: 109
- Joined: Thu Jan 24, 2019 9:46 am
Re: Search in Script editor
Searching inside the editor (opened script only) is already implemented using a normal alert dialog instead of an action bar.
About bars: I agree they are hard to include, but probably for the compatibility with previous android versions which didn't include them. If you want to use bars in an android app you have basically three options: use the native android component excluding devices until android 3.0; use the android standard library that can offer a custom action bar; or implement your own. Pierre chose the latter, and I guess he did it for customization purposes (maybe not).
Didn't he say that the bar is or can be converted into a customizable component?
About bars: I agree they are hard to include, but probably for the compatibility with previous android versions which didn't include them. If you want to use bars in an android app you have basically three options: use the native android component excluding devices until android 3.0; use the android standard library that can offer a custom action bar; or implement your own. Pierre chose the latter, and I guess he did it for customization purposes (maybe not).
Didn't he say that the bar is or can be converted into a customizable component?
Re: Search in Script editor
LL has been started long before the action bar has been added to Android. Most screens have been designed without it and once they were working, and as it was not really needed to rework the UI I left them as is.
The app drawer is an exception. The custom action bar has been implemented to replicate this feature on older devices. Now compatibility for these devices has gone, but since this bar is here and working I didn't replaced it with the builtin action bar neither.
I always avoided the compat library because of its weight, although some time to time I picked some code from it.
The app drawer is an exception. The custom action bar has been implemented to replicate this feature on older devices. Now compatibility for these devices has gone, but since this bar is here and working I didn't replaced it with the builtin action bar neither.
I always avoided the compat library because of its weight, although some time to time I picked some code from it.