notepad-plus-plus / notepad-plus-plus

Notepad++ official repository
https://notepad-plus-plus.org/
Other
23k stars 4.61k forks source link

Make Find/Replace fileds multiline #12174

Closed babut85 closed 1 year ago

babut85 commented 2 years ago

i'm sorry, man, that i'm writing here, but i don't have the strength to be silent anymore. your program is good- it starts up fast and works fast, it can switch to "column mode" simply through an additional Alt(no one can do that!)- this is what i appreciate your program more than any similar ones. unfortunately, it has two critical drawbacks, the most important one is that it does not know how to replace text in multiline mode. yes, some techniques help to smooth out this drawback, but we won't even get close to the functionality that UltraEdit has. this is exactly the drawback because of which i can't get rid of the gluttonous, retarded, full of shit UltraEdit T_T the second drawback is not critical, but also important- the lack of hex-mode editing. yes, there is some external plugin, but it does not know how to work in insert mode(UltraEdit also does not know how, although "hex mode" is native to it). i ask you to hammer the last nail into the coffin UltraEdit =^.^=

alankilborn commented 2 years ago

please save the kittens!

Your issue may get largely ignored, because of this odd title

alankilborn commented 2 years ago

i can't get rid of the gluttonous, retarded, full of shit UltraEdit

i ask you to hammer the last nail into the coffin UltraEdit

LOL!

alankilborn commented 2 years ago

replace text in multiline mode

You really should define what you expect in such a mode. Or, if others have requested this before -- which I suspect -- then this might have already been laid out. But if that's the case, then you shouldn't have opened a new issue, you should have just added your comments to an existing issue. But if you're going to state your vision for it, don't simply say "like UltraEdit" because likely no one knows how that program does it. We're loyal to N++ after all. :-) That being said, I have some ideas about how such a mode would work, but this is YOUR issue, not mine. :-)

alankilborn commented 2 years ago

the lack of hex-mode editing

To be workable, an "issue" needs to define one specific request. Mentioning a second request for something totally unrelated to the multiline replacement mode request makes this "issue" difficult if not impossible to act upon.

Having stated that, with the advent of Unicode, hex editing in a text editor just really isn't that practical any longer. Arguments can be made for it, but they just don't feel very strong.

babut85 commented 2 years ago

no space technologies are needed here, two multi-string fields are enough(but necessarily with the ability to scroll the contents and scaling the dialog box itself. the "word wrap" switch will also not hurt), in the first there will be the piece of text that needs to be replaced, and in the second a piece of text to replace. and you don't even need to implement "column mode"(maybe sometime later, since this is a difficult task, the same UltraEdit can't do it), it's enough to keep regexp support- i don't remember a case when it wasn't enough. in general, i don't think that reasonable people need to be explained how to do it, it's just that the problem is that reasonable people are not always busy with the same thing, so they don't know about each other's needs ;)

babut85 commented 2 years ago

the lack of hex-mode editing

To be workable, an "issue" needs to define one specific request. Mentioning a second request for something totally unrelated to the multiline replacement mode request makes this "issue" difficult if not impossible to act upon.

Having stated that, with the advent of Unicode, hex editing in a text editor just really isn't that practical any longer. Arguments can be made for it, but they just don't feel very strong.

i'll tell you this: humanity has had spaceships for a long time.. but do you have it? ;) the fact that unicode appeared does not mean that everything that preceded it died

alankilborn commented 2 years ago

the fact that unicode appeared does not mean that everything that preceded it died

Definitely true. And Notepad++ maintains its support for older encodings ("everything that preceded it"), just take a look at the Encoding menu. But there isn't much new feature development along the lines of older encodings, because general interest in this is slowly fading.

Similarly because there isn't much of a general need for hex editing -- your specific need may be much greater than the general need!-- I wouldn't expect a native Notepad++ hex editing capability to appear. In fact if you REALLY want this, you probably should pursue it through the Scintilla project, as that makes the most sense for how the capability would appear. Then Notepad++ -- which embeds Scintilla as its editing component -- could simply just "turn it on" and have it. I have no idea if a hex editing capability is on the development radar for Scintilla.

alankilborn commented 1 year ago

Can someone...a moderator...give this issue a more meaningful title?

ArkadiuszMichalski commented 1 year ago

For what because I see two requests. Support hexedit was rejected in the past https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3489.

ArkadiuszMichalski commented 1 year ago

Duplicate of https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12834.