mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-26 21:35:16 +00:00
Fixed: #1636 Exception after search - traitslist with not properly set abc, other ui exception
This commit is contained in:
@@ -23,6 +23,7 @@ All notable changes to this project will be documented in this file.
|
||||
- Generic tag tree exception on save
|
||||
- Copying to clipboard does not support transparency
|
||||
- #1634 AS3 slot/const editor loses focus on edit button press
|
||||
- #1636 Exception after search - traitslist with not properly set abc, other ui exception
|
||||
|
||||
### Removed
|
||||
- #1631 ActiveX Flash component download in windows installer
|
||||
|
||||
@@ -1359,6 +1359,7 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<Scr
|
||||
searchPanel.setOptions(ignoreCase, regExp);
|
||||
searchPanel.setSearchText(searchedText);
|
||||
ScriptPack pack = result.getScriptPack();
|
||||
setAbc(pack.abc);
|
||||
|
||||
Runnable setScriptComplete = new Runnable() {
|
||||
@Override
|
||||
|
||||
@@ -671,7 +671,11 @@ public class LineMarkedEditorPane extends UndoFixedEditorPane implements LinkHan
|
||||
line += firstLineOffset();
|
||||
g.fillRect(0, d + lh * (line - 1), getWidth(), lh);
|
||||
}
|
||||
super.paint(g);
|
||||
try {
|
||||
super.paint(g);
|
||||
} catch (Exception ex) {
|
||||
//ignore
|
||||
}
|
||||
for (int line : lineMarkers.keySet()) {
|
||||
|
||||
SortedSet<LineMarker> cs = lineMarkers.get(line);
|
||||
|
||||
Reference in New Issue
Block a user