This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 267631

Summary: Change textual name of "Paste as Lines" action from "clipboard-lines" to "paste-from-clipboard-as-lines"
Product: editor Reporter: Miloslav Metelka <mmetelka>
Component: Actions/Menu/ToolbarAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: markiewb
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Miloslav Metelka 2016-08-18 15:14:57 UTC
For multiple carets the Paste as Lines action splits the text in the clipboard to lines and inserts first line at first caret and second line at second caret etc.

Naming in DefaultEditorKit:

    public static final String pasteAction = "paste-from-clipboard";

so in order to adhere to that naming I propose
 to rename PasteLinesAction to PasteAsLinesAction
 and use the name "paste-from-clipboard-as-lines" instead of "clipboard-lines".
Comment 1 markiewb 2016-09-18 13:44:26 UTC
Feel free to change it. But note that it is an incompatible change. Users which created a macro in 8.2 won't be able to use it anymore.