IDE; Editor; Find/Replace; Search inside Selection only;

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
HanPBF
Enthusiast
Enthusiast
Posts: 570
Joined: Fri Feb 19, 2010 3:42 am

IDE; Editor; Find/Replace; Search inside Selection only;

Post by HanPBF »

Hello!

Using the PB editor with its search/replace feature, from time to time the problem comes up that I replace too much...

Keeping the Find/Replace dialog open or changing the source tab, the checkbox "Search inside Selection only" switches off.

So, two wishes if possible:
- better keep the "Search inside Selection only" as long as possible switched on, because
- the following <ctrl>-<z> does undo only each replacement itself -> maybe after one whole replace <ctrl>-<z> shall replace the whole step

The checkbox switches off when no more text is selected which seems logically correct; but if I only change the selection to another block.

What I really like is that the may be kept open when switching source codes!


Did I miss anything? A "undo all" way?
Any idea?

Thanks a lot!
ssb
User
User
Posts: 44
Joined: Wed Jun 21, 2006 11:09 am

Re: IDE; Editor; Find/Replace; Search inside Selection only;

Post by ssb »

Count my vote for both suggestions! :)
HanPBF
Enthusiast
Enthusiast
Posts: 570
Joined: Fri Feb 19, 2010 3:42 am

IDE; Editor; Find/Replace; Search inside Selection only;

Post by HanPBF »

The "Search inside Selection only" should also work for replacement.

But it does replace everything in the whole row; even when selection is done by rectangualr / vertical selection.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: IDE; Editor; Find/Replace; Search inside Selection only;

Post by IdeasVacuum »

+1 8)
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: IDE; Editor; Find/Replace; Search inside Selection only;

Post by Lunasole »

Not only that, PB Ide definitely misses some adequate functions to work with text comparing to VS or other modern IDEs, and it is noticed by many users as can see from recent threads here (also me time ago was creating similar too).
Hope developers find some time to improve IDE itself, for now I often have to use Notepad++ to perform some various actions with large code, which is ridiculous.
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
HanPBF
Enthusiast
Enthusiast
Posts: 570
Joined: Fri Feb 19, 2010 3:42 am

Re: IDE; Editor; Find/Replace; Search inside Selection only;

Post by HanPBF »

Hello Lunasole,

I find it a minor annoyance.
I also use tools like PowerGrep to make some pseudo-cross-reference searches or more complex replaces.

But You are right; the wishes and some complaints repeat after a period of time in this forum.

PB is a "small" project; even very effective.
But complaining is always easy...

So, from my site -> just a little wish;-)
User avatar
mhs
Enthusiast
Enthusiast
Posts: 101
Joined: Thu Jul 02, 2015 4:53 pm
Location: Germany
Contact:

Re: IDE; Editor; Find/Replace; Search inside Selection only;

Post by mhs »

+1
Post Reply