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 - Change textual name of "Paste as Lines" action from "clipboard-lines" to "paste-from-clipboard-as-lines"
Summary: Change textual name of "Paste as Lines" action from "clipboard-lines" to "pas...
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-18 15:14 UTC by Miloslav Metelka
Modified: 2016-09-18 13:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.