Carriage return when copying a line
-
Hello!
Sorry, I don’t speak English.When copying a line (for example, triple-clicking the mouse), the carriage is automatically moved to a new line. Personally, I often need to copy a line without moving the carriage to a new line. Is there a way to solve this problem? If there is no such option now, then maybe add such a setting?
-
@Demon
Hi,
I think Notepad++'s default settings to copy the entire line has Ctrl+Shift+X as its shortcut. You can change and see this shortcut and others from the Settings -> Shortcut Mapper… menu. You will find the line copy command in the ‘Scintilla commands’ tab of the Shortcut Mapper. -
@litos81
Ctrl+Shift+X - I know this key combination - carriage return to a new line is present. I made myself a macro without carriage return to a new line. But this is a “crutch”. And I would like a setting for triple mouse click. If I ask too much, then don’t blame me. -
@Demon ,
I made myself a macro without carriage return to a new line. But this is a “crutch”.
It’s not a “crutch”. There are an uncountable possible list of actions that users might want to take. Notepad++ knows it cannot implement them all. As a compromise, Notepad++ gives you the ability to record and use macros so that you can have the extra “keystroke-based commands” that Notepad++ doesn’t implement to your preference.
(Under the hood, Notepad++ uses a library called “Scintilla” to implement most of the editor-style commands, like copy, paste, etc. Looking through the list of Scintilla commands, I’m not seeing a “copy whole line except newline” equivalent, so it would probably have to be requested from Scintilla first, and then after Scintilla was updated, Notepad++ would have to update to the most recent copy.)
And I would like a setting for triple mouse click.
Just FYI, trying things like MS Word or MS WordPad, or VisualStudio, all use triple-click to select the whole line including newline. That seems to be the industry standard, and I’ve never seen an option anywhere to change it to not include newlines.
The developer has recently been indicating that he doesn’t like how many options are there, and he even made a recent poll to ask if users thought a specific option could be removed. My guess is that he’d be pretty reluctant to add yet another option, especially one that would make Notepad++ do something that most people wouldn’t expect in a given situation, when it’s already implemented the standard/expected behavior.
But, we here in the Community Forum can just give our opinions. As is made very clear in the forum, we are just users; if you have an actual feature request, you need to put it in Notepad++'s GitHub Issues, not here, if you want the developer to consider it, as is described in our Feature Request FAQ
If I ask too much,
I cannot say that you ask too much. But I can say that you are asking in the wrong place if you want the feature considered for implementation.
-
@PeterJones said in Carriage return when copying a line:
Just FYI, trying things like MS Word or MS WordPad, or VisualStudio, all use triple-click to select the whole line including newline. That seems to be the industry standard, and I’ve never seen an option anywhere to change it to not include newlines.
Well, then we’ll work with a macro.
@PeterJones said in Carriage return when copying a line:
you need to put it in Notepad++'s GitHub Issues
Oh! Got it! I’m sorry that I wrote in the wrong place.