PB keeps improving with each new release. I love that.
The latest (5.60) is no exception. I love it.
But some areas of the IDE have been left behind for way too long, and remain poorly developed.
The Search/Replace function is one such element.
The current function is, in my view, still rather primitive.
For instance, when you press [Find next] to launch a search operation from a selected word or expression, the search invariably locks onto the current selection as the first occurence of the search criterion ! That's exasperating, and quite illogical. I believe, however, it could be very easily fixed.
A number of suggestions have been made to improve this function, some of them excellent.
uwekel (March 2017) Improvement for the Find/Replace dialog
Fredi (January 2017) : Add "Count" button to the Find/Replace window
NikitaOdnorob98 (June 2012) : What we lack in the IDE PB
bug report (July 2016) :[5.42] Replace by using old replace phrase fails...
It would be nice to see those suggestions implemented, in part or in totality, in the near future.
The Search & Replace function definitely needs to be modernized and generally improved.
In its present state, it's definitely one of the chief annoyances in PB.
An improved Search/Replace function
An improved Search/Replace function
Last edited by Blue on Sun Mar 19, 2017 6:04 pm, edited 2 times in total.
"That's not a bug..." said the programmer. "it's a feature! "
"Oh! I see..." replied the blind man.
"Oh! I see..." replied the blind man.
Re: An improved Search/Replace function
And key accellerators for Linux, please
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
- Andre
- PureBasic Team
- Posts: 2071
- Joined: Fri Apr 25, 2003 6:14 pm
- Location: Germany (Saxony, Deutscheinsiedel)
- Contact:
Re: An improved Search/Replace function
Did you forgot to link to the mentioned thread?Blue wrote:... a few other suggestions in this thread ...
Or which further suggestions do you mean?
-
- Enthusiast
- Posts: 334
- Joined: Mon Feb 04, 2013 5:28 pm
Re: An improved Search/Replace function
Blue wrote: In my view, the Search/Replace function is one such area.
Before improving it, would be better to make it work again.
http://www.purebasic.fr/english/viewtop ... =4&t=65153
Re: An improved Search/Replace function
Quite right, Andre.Andre wrote:[...]
Did you forgot to link to the mentioned thread?
Or which further suggestions do you mean?
I'll grab the links and include them in the original post.
Thanks for the reminder.
"That's not a bug..." said the programmer. "it's a feature! "
"Oh! I see..." replied the blind man.
"Oh! I see..." replied the blind man.
-
- User
- Posts: 66
- Joined: Mon Nov 11, 2013 11:07 am
- Location: Portugal
Re: An improved Search/Replace function
I think Blue is right.
In http://www.purebasic.fr/english/viewtop ... =3&t=60501 I wrote:
IDE I. Search and Replace: It would be nice if you can
- Replace within a selection without having to use "Replace all". If you do "Find" the selection disappears after the first find.
- Choose to do your action in all the opened files (prompted) and not just in the current file
- Use wildcards
It would be great if S/R were to be improved.
KR Al
In http://www.purebasic.fr/english/viewtop ... =3&t=60501 I wrote:
IDE I. Search and Replace: It would be nice if you can
- Replace within a selection without having to use "Replace all". If you do "Find" the selection disappears after the first find.
- Choose to do your action in all the opened files (prompted) and not just in the current file
- Use wildcards
It would be great if S/R were to be improved.
KR Al