mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GP-3329 - Search Highlights - Major update and refactor of the way Listing highlights work. Highlights are now more closely coupled with the fields that will paint them.
This commit is contained in:
parent
a21c2c4347
commit
84650030d0
130 changed files with 1096 additions and 919 deletions
|
@ -19,7 +19,7 @@ import javax.swing.Icon;
|
|||
|
||||
import ghidra.app.nav.*;
|
||||
import ghidra.app.plugin.core.codebrowser.CodeViewerLocationMemento;
|
||||
import ghidra.app.util.HighlightProvider;
|
||||
import ghidra.app.util.ListingHighlightProvider;
|
||||
import ghidra.program.model.listing.Program;
|
||||
import ghidra.program.util.ProgramLocation;
|
||||
import ghidra.program.util.ProgramSelection;
|
||||
|
@ -173,13 +173,13 @@ class DiffNavigatable implements Navigatable {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void setHighlightProvider(HighlightProvider highlightProvider, Program program) {
|
||||
public void setHighlightProvider(ListingHighlightProvider highlightProvider, Program program) {
|
||||
// CodeViewerProvider handles the other listing (the Diff listing) highlights.
|
||||
navigatable.setHighlightProvider(highlightProvider, program);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeHighlightProvider(HighlightProvider highlightProvider, Program program) {
|
||||
public void removeHighlightProvider(ListingHighlightProvider highlightProvider, Program program) {
|
||||
// CodeViewerProvider handles the other listing (the Diff listing) highlights.
|
||||
navigatable.removeHighlightProvider(highlightProvider, program);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue