Search but NO replace
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 9445
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Search but NO replace
Oddly enough, in both LC 9.6.3 and LC 8.1.10 the replace field does not get ficus so one cannot enter a term into it.
-
- VIP Livecode Opensource Backer
- Posts: 4016
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: Search but NO replace
Hi Richmond,
try to do search first, then the replace field accepts an entry.
Please note that replace is powerful but also is one of the fastest ways to break a stack.
I always like to have current backup before replacing.
Kind regards
Bernd
try to do search first, then the replace field accepts an entry.
Please note that replace is powerful but also is one of the fastest ways to break a stack.
I always like to have current backup before replacing.
Kind regards
Bernd
-
- Livecode Opensource Backer
- Posts: 9445
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Search but NO replace
I jave used Search & Replace many times (but not in the last 2-3 years) and broken lots of stacks.
And your suggestion, Bernd, is how I have always done things.
And your suggestion, Bernd, is how I have always done things.
-
- Livecode Opensource Backer
- Posts: 9445
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
-
- VIP Livecode Opensource Backer
- Posts: 4016
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: Search but NO replace
Richmond,
That is a bug: the default is "All available stacks". Change that to e.g. current tab or all tabs and it works.
This was introduced when "scriptifying" that dialog.
Bug 24001
I suggested to change the default but to no avail. The main bug was fixed.
KInd regards
Bernd
That is a bug: the default is "All available stacks". Change that to e.g. current tab or all tabs and it works.
This was introduced when "scriptifying" that dialog.
Bug 24001
I suggested to change the default but to no avail. The main bug was fixed.
KInd regards
Bernd
-
- Livecode Opensource Backer
- Posts: 9445
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Search but NO replace
BUT . . .All available stacks
I want to do a thorough search & replace throughout the whole LC IDE.
-
- VIP Livecode Opensource Backer
- Posts: 4016
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: Search but NO replace
Then I would not use the Script Editor's Find and Replace. I never tried to change the IDE Scripts wholesale and I do not see a way for the IDE stacks to show up in the Find and Replace when chosen from the Edit Menu.richmond62 wrote: ↑Sat Aug 19, 2023 10:11 amBUT . . .All available stacks
I want to do a thorough search & replace throughout the whole LC IDE.
Though you probably could load the scripts into the Script Editor via the Project Browser (turn on in menu View: Show IDE Stacks in lists) and then do your replace in all tabs. I think the limit for the Script Editor is 20 scripts at for any given Script Editor at a time.
Kind regards
Bernd
-
- Livecode Opensource Backer
- Posts: 9445
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Search but NO replace
This is interesting considering, when LiveCode became fully unicode-compliant, I ran a search and replace through my Devawriter Pro stack (featuring a thousand faux buttons with scripts and lord-alone-knows the card scripts and so on) to replace numToChar with numToCodePoint and the whole thing was done and dusted in about 7-8 minutes.I think the limit for the Script Editor is 20 scripts