mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GT-3155 - Copy Special - allow the Copy Special action to work on the
current address when there is no selection
This commit is contained in:
parent
3051601206
commit
bbe4b89a0d
3 changed files with 87 additions and 58 deletions
|
@ -46,14 +46,6 @@ public class ByteViewerClipboardProvider extends ByteCopier
|
|||
return copyTypesList;
|
||||
}
|
||||
|
||||
private static final List<ClipboardType> PASTE_TYPES = createPasteTypesList();
|
||||
|
||||
private static List<ClipboardType> createPasteTypesList() {
|
||||
List<ClipboardType> pasteTypesList = new LinkedList<>();
|
||||
pasteTypesList.add(BYTE_STRING_TYPE);
|
||||
return pasteTypesList;
|
||||
}
|
||||
|
||||
private boolean copyEnabled;
|
||||
private boolean pasteEnabled;
|
||||
private Set<ChangeListener> listeners = new CopyOnWriteArraySet<>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue