mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 20:57:08 +08:00
GP-3 - Updated Navigatable to have a notion of selected text; updated
the SearchTextPlugin to use this feature
This commit is contained in:
+5
@@ -160,6 +160,11 @@ public class ProgramByteViewerComponentProvider extends ByteViewerComponentProvi
|
||||
return currentHighlight;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTextSelection() {
|
||||
return getTextSelection();
|
||||
}
|
||||
|
||||
private void setSelection(ProgramSelection selection, boolean notify) {
|
||||
currentSelection = selection;
|
||||
if (selection == null) {
|
||||
|
||||
Reference in New Issue
Block a user