Find & Replace

All flavors welcome.
Forum rules
Be kind.
Post Reply
User avatar
richmond62
Posts: 4832
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Find & Replace

Post by richmond62 »

The IDE contains a very powerful Find & Replace stack within it:

revSearch.
-
Screenshot 2024-08-22 at 20.24.56.png
Screenshot 2024-08-22 at 20.24.56.png (355.22 KiB) Viewed 1698 times
-
In the past I used it to modify about 5,000 lines of script in about 2,000 objects and it managed that is about 10 minutes!

HOWEVER it is provided with ridiculously small fields.
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 4832
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Find & Replace

Post by richmond62 »

It also seems incapable of scripting to increase the width of the stack.

What I also fail to understand is that if I swap the "revSearch.rev" stack inwith the IDE for my hacked "revSearch.rev" stack from May 2022 what I STILL get is the unhacked version.

My version should look like this:
-
Screenshot 2024-08-22 at 20.46.20.png
Screenshot 2024-08-22 at 20.46.20.png (380.43 KiB) Viewed 1695 times
Attachments
revSearch.rev.zip
(39.73 KiB) Downloaded 39 times
https://richmondmathewson.owlstown.net/
User avatar
OpenXTalkPaul
Posts: 2633
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

Re: Find & Replace

Post by OpenXTalkPaul »

richmond62 wrote: Thu Aug 22, 2024 5:28 pm The IDE contains a very powerful Find & Replace stack within it:

revSearch.
-
Screenshot 2024-08-22 at 20.24.56.png
-
In the past I used it to modify about 5,000 lines of script in about 2,000 objects and it managed that is about 10 minutes!

HOWEVER it is provided with ridiculously small fields.
For binary UI stacks revSearch is just about the only way to find a specific thing in a a bunch of stacks, short of writing your own custom script for it.

I agree on the tiny fields, pixel density of computer screens these days is making everything appear smaller (although much more crisply), and my eyes are getting too old for that.
Here's a suggestion for possible easy solution, try this line of script in the messageBox:

Code: Select all

set the scaleFactor of stack revSearch to 1.5 
That should make your stack larger by 50% and therefore easier to read. I think Scale Factor should probably be a revPreferences setting for all of the IDE stacks, allowing users to adjust the size of each of the IDE stacks to suite the hardware/OS that it's running on.

Certainly we could make it so it can be expanded horizontally so you can see more of the lines of results.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests