mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 03:50:44 +00:00
committed by
Jindra Petřík
parent
1b8ede40a3
commit
d873e4b561
@@ -185,7 +185,7 @@ public class ASMSourceEditorPane extends DebuggableEditorPane implements CaretLi
|
||||
}
|
||||
setText(textHexOnly);
|
||||
}
|
||||
hilighOffset(oldOffset);
|
||||
hilightOffset(oldOffset);
|
||||
}
|
||||
|
||||
public void setIgnoreCaret(boolean ignoreCaret) {
|
||||
@@ -222,7 +222,7 @@ public class ASMSourceEditorPane extends DebuggableEditorPane implements CaretLi
|
||||
}
|
||||
}
|
||||
|
||||
public void hilighOffset(long offset) {
|
||||
public void hilightOffset(long offset) {
|
||||
if (isEditable()) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -249,7 +249,7 @@ public class DecompiledEditorPane extends DebuggableEditorPane implements CaretL
|
||||
boolean success = false;
|
||||
Highlighting h = Highlighting.searchPos(highlightedText.getInstructionHighlights(), pos);
|
||||
if (h != null) {
|
||||
methodCodePanel.hilighOffset(h.getProperties().offset);
|
||||
methodCodePanel.hilightOffset(h.getProperties().offset);
|
||||
success = true;
|
||||
}
|
||||
Highlighting sh = Highlighting.searchPos(highlightedText.getSpecialHighlights(), pos);
|
||||
|
||||
@@ -105,8 +105,8 @@ public class MethodCodePanel extends JPanel {
|
||||
sourceTextArea.setIgnoreCaret(ignoreCaret);
|
||||
}
|
||||
|
||||
public void hilighOffset(long offset) {
|
||||
sourceTextArea.hilighOffset(offset);
|
||||
public void hilightOffset(long offset) {
|
||||
sourceTextArea.hilightOffset(offset);
|
||||
}
|
||||
|
||||
public void hilighSpecial(HighlightSpecialType type, String specialValue) {
|
||||
|
||||
Reference in New Issue
Block a user