-
-
Notifications
You must be signed in to change notification settings - Fork 343
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
Request to change the behavior of Ctrl+X and Ctrl+C #1657
Comments
You forgot the Visual Studio Editor behavior (which we try to take into account first) and the corresponding feature request #32 😸 |
I know that MS Visual Studio, Sublime and a few others have this strange behavior...! 😬 But, the vast majority of "Text "Editors" have another "Standard"! 😃 In addition, with the cursor on a line without selection, Notepad3 has 2 shortcuts to perform exactly the same job! 😕
Maybe a vote of the community to keep this (strange) behavior in Notepad3 or to go back to the "Text Editors Standard"? 🤔
|
This is no strange behavior, this is consistent behavior: The other editors are inconsistent: |
ctrl + c:
|
I like the current behavior better .. since you did ctrl+C on an empty line it seems to me you chose to copy an empty line, so the next paste will paste an empty line. Seems you want it so that ctrl+C on an empty line will be a no-operation, personally I find that confusing. |
i'm frequently tripped up by this, too. i would prefer if ctrl+c & ctrl-x were no-ops without a selection. or at least a setting to force this behavior. |
Hello @kofifus |
I am used to coding editors (VS19, VScode etc), I dislike MS Notepad, Notepad++, etc - that's why I'm using Notepad3! Anyways, I don't really care that much about what happens on CTRL+C on an empty line, do you really do that often ? either way is fine by me. However I do care about what happens if you Ctrl+C on a line with text but when there is no selection - I would really like to keep the current behavior where this copies the entire line (#32) this is a very useful feature ! |
@RaiKoHoff @hpwamr |
On the one hand I like to keep the "copy empty line" behavior, on the other hand I tapped also in this pitfall, using
How to express these options in clear short form for menu entries ? |
It seems to me that it is a good idea to give users the choice via a selection menu... 🤔
But, I insist that the "default" should be the "the standard behavior of 95% of text editors (your first option = vote: 👎). 😃 |
Well my vote is to simply keep things as they are... using ctrl+c/x/v with no selection to copy/cut/paste lines is something I do all the time and is a really useful feature even if takes a second to get used to.. try it:) |
It's not the problem of being able to use it ... The real problem with this behavior is that if you by mistake press "Ctrl+C" instead of "Crtl+V" on an empty line, you have erased the contents of your clipboard !!! (Try it ... 😉). |
After thinking again (and again), I am with @kofifus . |
@hpwamr : No double functionality, difference between
|
yes, this is the problem. i'm not sure this is fully fixed yet. |
Hello @RaiKoHoff , @kofifus , @kofifus @wsrf16 |
Hello @kofifus and @RaiKoHoff , |
yes that's the price for this feature, and now you have the option to cancel it if you want. I totally get your point, it's just that I think the benefit here is much greater than the disturbance to newcomers and you don't. The maintainer made his decision and you closed the issue, why open it again ? A bit off topic but try a clipboard manager (ie Ditto) - it will change your life ... (> In addition, I want to draw your attention to the solution you gave to #1113 (in order not to disrupt newcomers). |
So settings are silver bullet?😢 |
Changing the default behavior for Shortcuts is no easy decision. So Ed.: by the way: |
Hello @RaiKoHoff ,
In a list:
Result: Ctrl+V does NOT paste the word "Delete" and a new line is added !
Expected: like "MS Notepad", "NP++", "SciTE", "NP2-zufuliu", "MS Word", "GitHub editor", etc...
The text was updated successfully, but these errors were encountered: