-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Add new command and default keycombo for Begin/End Select in column mode #12833
Comments
Personally, I'm more likely to use this one (which is why I have that macro). I think it would be good to have this one in the default macros for a fresh install, whether or not the default keystroke is added for 12832. |
That's a good feature. |
It's true, but I think for the "greater good of the software" going forward...that it should be done. |
I don't think this FR depends on #12832. As I mentioned, my concern is added new shortcuts will have conflicts with users' defined - and users who use Begin/End Select command have added their own defined shortcut certainly. So #12832 won't be accepted. |
It certainly would be nice to just say "the standard shortcut for Begin/End Select is ____". |
Assigning new default keycombos is not without recent precedent. |
Is there any complain for it? |
I don't recall a single complaint. |
Not that I recall. And a quick search doesn't reveal any. |
I had a late thought: It is "cool" that the column version could be a macro, and we can move forward with that, but should it be considered to instead be a "real command", e.g., on the Edit menu there would be the existing Begin/End Select and then right below it "Begin/End Select in Column Mode" ?? |
@alankilborn |
So it could appear on the Edit menu as:
|
@pryrt @alankilborn And Column Mode Tip dialog message will be change from:
to Any suggestion for a better Column Mode Tip dialog message ? |
I don't think we should say "shit" to the user in your number 3. OK, I can tweak the message. |
:D
v8.4.9 is already on its way, so this feature will be in the next next version (v8.5) for sure.
I can do it if there are too many tasks for you. |
I'll try it...should be fairly simple. |
@donho, After some review of "reality" :-) I wanted to change the spec on this, and of course want your approval before proceeding with it. I think we are best served by this slight change to the proposed menu from Peter's "3" above:
"Begin" of the selection doesn't need to know the user-desired type (stream or column). So the suggestion is that user uses There would be no change to the existing menu checkmark behavior for There would be no menu checkmark at all for However,
What do you think? |
@alankilborn For the sake of simplicity and less confusion, I prefer the separation of the 2 sets of commands for the 2 modes of selection. |
OK, I will proceed based upon that feedback. However,
I don't think this works. If a user has activated Or, maybe, if one type of the command is in-progress, the other type isn't available until the second part of the first has completed. Thus, after the first part, we'd have: ✅ or:
NOTE: strike-through represents a disabled/greyed menu item. I'm trying to think of novice user expectation here, but maybe I'm failing because I am not a novice user. |
I think greying out the opposite mode until the selection is Ended is probably the most user-intuitive way of handling it. That way, it's abundantly clear to the user that they have to End in the same mode they Began. |
The keycombos should NOT be embedded into this text (the "Column mode tip text") because these are just default/suggested keycombos, and can be changed by the user. I will remove them from the text, and adjust the (entire) tip text a bit as well (to make it even better). |
Hmm... you're right about it. Let's remove the shortcuts from the tip then. |
Description of the Issue
PREAMBLE NOTE: If #12832 is adopted, this would be a nice addition as well. If 12832 is NOT adopted, this probably doesn't make sense to implement on its own.
Currently Notepad++ ships with one sample macro, Trim Trailing Space and Save. I'd like to suggest a second one be created and shipped with Notepad++ releases.
I'd call this macro "Begin/End Select in Column Mode" and I would suggest a default key assignment of Alt+Shift+b. The Alt+Shift part reminds the user of the column-mode nature of running the macro -- because the user is used to using Alt+Shift+arrows to make a keyboard column selection.
Here is the suggested macro content:
Here's how the suggested entry would appear on the Macro menu:
Here's a usage example, for clarity:
license.txt
file.NOTE: This issue has its basis in discussions in this Community thread: https://community.notepad-plus-plus.org/topic/20616
Debug Information
Feature request based on current content of Notepad++ 8.4.8.
The text was updated successfully, but these errors were encountered: