From d873e4b5611d4cbd70279c22676e43008e9b6445 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 22 Oct 2024 09:25:00 -0400 Subject: [PATCH] spelling: hilight Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .../com/jpexs/decompiler/flash/helpers/GraphTextWriter.java | 2 +- .../jpexs/decompiler/flash/gui/abc/ASMSourceEditorPane.java | 4 ++-- .../jpexs/decompiler/flash/gui/abc/DecompiledEditorPane.java | 2 +- src/com/jpexs/decompiler/flash/gui/abc/MethodCodePanel.java | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/GraphTextWriter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/GraphTextWriter.java index f0ad5abb4..a98809ad8 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/GraphTextWriter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/GraphTextWriter.java @@ -257,7 +257,7 @@ public abstract class GraphTextWriter { * @param offset Offset * @return GraphTextWriter */ - public static String hilighOffset(String text, long offset) { + public static String hilightOffset(String text, long offset) { return ""; } diff --git a/src/com/jpexs/decompiler/flash/gui/abc/ASMSourceEditorPane.java b/src/com/jpexs/decompiler/flash/gui/abc/ASMSourceEditorPane.java index 7d841afb3..43ec77936 100644 --- a/src/com/jpexs/decompiler/flash/gui/abc/ASMSourceEditorPane.java +++ b/src/com/jpexs/decompiler/flash/gui/abc/ASMSourceEditorPane.java @@ -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; } diff --git a/src/com/jpexs/decompiler/flash/gui/abc/DecompiledEditorPane.java b/src/com/jpexs/decompiler/flash/gui/abc/DecompiledEditorPane.java index f22c5ca71..6aa2543f1 100644 --- a/src/com/jpexs/decompiler/flash/gui/abc/DecompiledEditorPane.java +++ b/src/com/jpexs/decompiler/flash/gui/abc/DecompiledEditorPane.java @@ -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); diff --git a/src/com/jpexs/decompiler/flash/gui/abc/MethodCodePanel.java b/src/com/jpexs/decompiler/flash/gui/abc/MethodCodePanel.java index 203c64c21..454ced527 100644 --- a/src/com/jpexs/decompiler/flash/gui/abc/MethodCodePanel.java +++ b/src/com/jpexs/decompiler/flash/gui/abc/MethodCodePanel.java @@ -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) {