mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-08-02 16:11:17 +00:00
Fixed: Hilighter nullpointer
This commit is contained in:
@@ -35,6 +35,7 @@ All notable changes to this project will be documented in this file.
|
||||
- [#2486] AS1/2 Switch after function, problem with labels
|
||||
- [#2486] AS ifs with direct breaks (in obfuscated code)
|
||||
- [#2486] AS3 skipping label instruction
|
||||
- Highlighter nullpointer
|
||||
|
||||
### Changed
|
||||
- Icon of "Deobfuscation options" menu from pile of pills to medkit
|
||||
|
||||
Binary file not shown.
@@ -52,6 +52,9 @@ public class Markers {
|
||||
*/
|
||||
public static void removeMarkers(JTextComponent component, SimpleMarker marker) {
|
||||
Highlighter hilite = component.getHighlighter();
|
||||
if (hilite == null) {
|
||||
return;
|
||||
}
|
||||
Highlighter.Highlight[] hilites = hilite.getHighlights();
|
||||
|
||||
for (int i = 0; i < hilites.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user