New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Search and Replace working with Column Selections #5113
Comments
Can this be done? YES
I suppose closure of these prior issues means that the developer chooses not to implement, so I'm not sure what good opening a new issue is. :-) |
Well it would be nice to have words to that effect rather than simply
closing the item with no commentary.
…On Fri, Dec 7, 2018 at 1:38 PM sasumner ***@***.***> wrote:
Can this be done? YES
Is it on the radar? APPARENTLY NOT
Is there something preventing it working? NOPE
I see there are previous instances of folks asking about this (Issue #94
<#94> and
#760 <#760>
in particular). These appear to have been closed without any clear mention
of a resolution to the problem.
I suppose closure of these prior issues means that the developers choose
not to implement, so I'm not sure what good opening a new issue is. :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5113 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIogk_i4ho-4B8d8UZaeT0lATIcOpRxlks5u2rWYgaJpZM4ZI3bs>
.
|
I agree but the Notepad++ developer does what he wants. |
I want this feature also. I often edit sql scripts constructed from copied text and this feature would help me to align columns of text quickly |
@glv1 Can you give an example of how this would "help align columns of text quickly". I think I may know already, but maybe you have a different idea in mind.... |
I first encountered the ability to do this in UltraEdit. A simplistic example of the sort of thing I frequently use it for is something like the following. Say I have multiple lines from, e.g. a .CSV style file:
I want to convert this into a fixed width format, one approach I can use is to search and replace all the commas with a fixed number of spaces, say 10:
Now, to get the fixed width fields, it's convenient if I can column select something like so:
And replace spaces with nothing, leaving me with:
Does that make sense? |
same idea as slposey above. initial text might be (containing spaces): select a column using then replace spaces with nothing: repeat with other columns to obtain |
@slposey
I might have to kick my notepad++ habit. |
It may be simpler to script a solution than to wait for Notepad++ to be given this feature natively. :( |
Closing, see #8450 (comment) |
It's unbelievable that so many people is asking for this feature and it's not even "on the radar" !! |
I had some offline discussion with @sasumner about this at one time. He was working on the solution to this, but gave up because he was told (he said) by the Notepad++ author that such a change would not be accepted if it "changed a lot of code". The work was abandoned because he didn't want to put the non-trivial effort in, only to have it rejected as "too big of a change". Again, my interpretation of what he said. Anyway, I scripted a solution to this. See HERE if you are interested in that. |
Thank you for the script, I'll try it asap. |
Description of the Issue
I want to be able to Search and Replace text within column selections just as I do withing ordinary stream selections.
I see there are previous instances of folks asking about this (Issue #94 and #760 in particular). These appear to have been closed without any clear mention of a resolution to the problem.
Can this be done? Is it on the radar? Is there something preventing it working?
Expected Behavior
I expect to be able to make a column selection and summon the Search and Replace dialog (CTRL+H) and be able to use the "In Selection" checkbox to replace strings within the column selection.
Actual Behavior
The "In Selection" checkbox is disabled when the column selection mode is active.
The text was updated successfully, but these errors were encountered: