mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-02 02:54:28 +00:00
Losing script tree focus on script selection (disallowed walking tree with keyboard up/down)
This commit is contained in:
@@ -12,7 +12,7 @@ All notable changes to this project will be documented in this file.
|
||||
- AS3: Incorrect handling of strict equals operator in if vs switch resulting in §§pop
|
||||
- Better goto detection/for continue
|
||||
- Support for comma operator in switch case statements
|
||||
- AS3: Losing script tree focus on script selection (disallowed walking tree with keyboard up/down)
|
||||
- Losing script tree focus on script selection (disallowed walking tree with keyboard up/down)
|
||||
- Proper window screen centering
|
||||
- Graph dialog proper window size
|
||||
- Graph dialog scroll speed increased
|
||||
|
||||
@@ -1393,8 +1393,9 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<ABC
|
||||
detailPanel.setVisible(!val);
|
||||
|
||||
decompiledTextArea.ignoreCarret = val;
|
||||
//This prevents walking script tree with up and down:
|
||||
//decompiledTextArea.requestFocusInWindow();
|
||||
if (val) {
|
||||
decompiledTextArea.requestFocusInWindow();
|
||||
}
|
||||
}
|
||||
|
||||
private void editDecompiledButtonActionPerformed(ActionEvent evt) {
|
||||
|
||||
@@ -933,7 +933,9 @@ public class ActionPanel extends JPanel implements SearchListener<ActionSearchRe
|
||||
asmLabel.setIcon(val ? View.getIcon("editing16") : null); // this line is not working
|
||||
topButtonsPan.setVisible(!val);
|
||||
editMode = val;
|
||||
editor.requestFocusInWindow();
|
||||
if (val) {
|
||||
editor.requestFocusInWindow();
|
||||
}
|
||||
}
|
||||
|
||||
public void setDecompiledEditMode(boolean val) {
|
||||
@@ -968,7 +970,9 @@ public class ActionPanel extends JPanel implements SearchListener<ActionSearchRe
|
||||
decompiledEditor.getCaret().setVisible(true);
|
||||
decLabel.setIcon(val ? View.getIcon("editing16") : null);
|
||||
editDecompiledMode = val;
|
||||
decompiledEditor.requestFocusInWindow();
|
||||
if (val) {
|
||||
decompiledEditor.requestFocusInWindow();
|
||||
}
|
||||
}
|
||||
|
||||
private void graphButtonActionPerformed(ActionEvent evt) {
|
||||
|
||||
Reference in New Issue
Block a user