-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Conversation
I don't think this is quite the issue reported. The problem was not whole-line cut/copy as a feature, but that it copy/pastes a totally blank line when used on a blank line. The desired fix was for it to not activate at all on blank lines. The issue, as I already detailed, is the EDIT: I could be reading this all wrong and this PR does exactly what needs to be done instead of completely disabling the feature (as I initially thought). Apologies if that is the case. :\ |
This actually is what you think it is. Even though this may not be the exact solution to the referenced issue, I guess it is a step in the right direction either way. |
Good idea for me! |
That would really help me, I often accidentally blind type Ctrl-C instead of Ctrl-V |
LGTM, but the description is not correct: is not only about empty lines. |
11dd63f
to
0bc1d05
Compare
Argh, now it's back to almost exactly the wording the CM manual uses. |
Thank you, LGTM. |
Thank you for reviewing! |
For #9311. Adds a new pref
lineWiseCopyCut
(still enabled by default) to suppress copy/cut from copying/cutting a whole line when there's no selection.See also http://codemirror.net/doc/manual.html#option_lineWiseCopyCut.