From 0374bcda8d9d7bc6b480ca5e2f29675f28a1aba4 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 22 Oct 2024 08:41:10 -0400 Subject: [PATCH] spelling: caret Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .../decompiler/flash/gui/abc/ABCPanel.java | 2 +- .../flash/gui/abc/ASMSourceEditorPane.java | 16 ++++++------- .../flash/gui/abc/DecompiledEditorPane.java | 24 +++++++++---------- .../flash/gui/abc/MethodCodePanel.java | 4 ++-- .../flash/gui/action/ActionPanel.java | 22 ++++++++--------- 5 files changed, 34 insertions(+), 34 deletions(-) diff --git a/src/com/jpexs/decompiler/flash/gui/abc/ABCPanel.java b/src/com/jpexs/decompiler/flash/gui/abc/ABCPanel.java index decda4079..db952b927 100644 --- a/src/com/jpexs/decompiler/flash/gui/abc/ABCPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/abc/ABCPanel.java @@ -1669,7 +1669,7 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener 1) { - ignoreCarret = true; + ignoreCaret = true; int startPos = tm.startPos + tm.len - 1; if (startPos <= getDocument().getLength()) { setCaretPosition(startPos); } - ignoreCarret = false; + ignoreCaret = false; } pos = tm.startPos; @@ -838,12 +838,12 @@ public class DecompiledEditorPane extends DebuggableEditorPane implements CaretL int pos = 0; if (th != null) { if (th.len > 1) { - ignoreCarret = true; + ignoreCaret = true; int startPos = th.startPos + th.len - 1; if (startPos <= getDocument().getLength()) { setCaretPosition(startPos); } - ignoreCarret = false; + ignoreCaret = false; } pos = th.startPos; } else if (tc != null) { diff --git a/src/com/jpexs/decompiler/flash/gui/abc/MethodCodePanel.java b/src/com/jpexs/decompiler/flash/gui/abc/MethodCodePanel.java index 310b8e820..203c64c21 100644 --- a/src/com/jpexs/decompiler/flash/gui/abc/MethodCodePanel.java +++ b/src/com/jpexs/decompiler/flash/gui/abc/MethodCodePanel.java @@ -101,8 +101,8 @@ public class MethodCodePanel extends JPanel { return sourceTextArea.getName(); } - public void setIgnoreCarret(boolean ignoreCarret) { - sourceTextArea.setIgnoreCarret(ignoreCarret); + public void setIgnoreCaret(boolean ignoreCaret) { + sourceTextArea.setIgnoreCaret(ignoreCaret); } public void hilighOffset(long offset) { diff --git a/src/com/jpexs/decompiler/flash/gui/action/ActionPanel.java b/src/com/jpexs/decompiler/flash/gui/action/ActionPanel.java index 6cd19a8cb..0d8beb2b1 100644 --- a/src/com/jpexs/decompiler/flash/gui/action/ActionPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/action/ActionPanel.java @@ -160,7 +160,7 @@ public class ActionPanel extends JPanel implements SearchListener 0 && h2.startPos < editor.getText().length()) { editor.setCaretPosition(h2.startPos); } editor.getCaret().setVisible(true); - ignoreCarret = false; + ignoreCaret = false; } } }