mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 18:30:43 +00:00
Fixed switching ABCs during search
This commit is contained in:
@@ -493,7 +493,9 @@ public class ABCPanel extends JPanel implements ItemListener, ActionListener {
|
||||
|
||||
public void updateSearchPos() {
|
||||
searchPos.setText((foundPos + 1) + "/" + found.size());
|
||||
decompiledTextArea.setScript(found.get(foundPos), list);
|
||||
ScriptPack pack = found.get(foundPos);
|
||||
setAbc(pack.abc);
|
||||
decompiledTextArea.setScript(pack, list);
|
||||
hilightScript(found.get(foundPos));
|
||||
decompiledTextArea.setCaretPosition(0);
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
|
||||
Reference in New Issue
Block a user