phdesign / NppToolBucket

Plugin of assorted tools for Notepad++ including Multi-line search and replace.
http://phdesign.com.au/npptoolbucket/
Apache License 2.0
53 stars 11 forks source link

Please add CTRL+A and another suggestion. #3

Closed tmikaeld closed 12 years ago

tmikaeld commented 12 years ago

Hello,

Thanks for making this superb plugin! Finally proper regex!

But i do a lot of replacements, could you perhaps implement CTRL+A so it's easier to select all text?

And, could you add the possibility to do regex replace from a list?

Like this:

(.+)|$1test (.+)|$1testOther

First the regex then a seperator then the replace.

Thanks again!

phdesign commented 12 years ago

Hi, thanks for your input. I'm surprised CTRL-A doesn't work already, I'll look into that.

The kind of search and replacement from a list you mention is very similar to linux's sed. I'll think about this one but in the meantime you could use a MS version of sed to do what you need.

Cheers,

Paul.

On 11/05/2012, at 5:06 PM, tmikaeldreply@reply.github.com wrote:

Hello,

Thanks for making this superb plugin! Finally proper regex!

But i do a lot of replacements, could you perhaps implement CTRL+A so it's easier to select all text?

And, could you add the possibility to do regex replace from a list?

Like this:

(.+)|$1test (.+)|$1test2

First the regex then a seperator then the replace.

Thanks again!


Reply to this email directly or view it on GitHub: https://github.com/phdesign/NppToolBucket/issues/3

tmikaeld commented 12 years ago

Hello, thanks for the quick reply!

You and me both ;-)

Yes, i noticed sed when i googled around for a proper search and replace tool. It is a good and viable option, but i'd rather have everything i need to do coding and code manipulation in the same excellent tool :-)

Thanks again for the reply and this great plugin. Looking forward to CTRL+A and mass-replacement if possible!

Cheers!

phdesign commented 12 years ago

I have implemented a fix for this and it's checked in. It'll be in the next version which might not be out for a couple of weeks, I'd like to include a few improvements to it.

Cheers, Paul.

On 15/05/2012, at 7:04 AM, tmikaeldreply@reply.github.com wrote:

Hello, thanks for the quick reply!

You and me both ;-)

Yes, i noticed sed when i googled around for a proper search and replace tool. It is a good and viable option, but i'd rather have everything i need to do coding and code manipulation in the same excellent tool :-)

Thanks again for the reply and this great plugin. Looking forward to CTRL+A and mass-replacement if possible!

Cheers!


Reply to this email directly or view it on GitHub: https://github.com/phdesign/NppToolBucket/issues/3#issuecomment-5702038

phdesign commented 12 years ago

Ctrl-A select all implemented in v1.4.