mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-17 21:38:10 +00:00
script halt config, lib part commit
This commit is contained in:
@@ -382,6 +382,7 @@ public class ScriptPack extends AS3ClassTreeItem {
|
||||
}
|
||||
|
||||
if (instrOffset == -1) {
|
||||
lonelyBody.add(bodyIndex);
|
||||
break blk;
|
||||
}
|
||||
try {
|
||||
@@ -390,6 +391,7 @@ public class ScriptPack extends AS3ClassTreeItem {
|
||||
//ignore
|
||||
}
|
||||
if (pos == -1) {
|
||||
lonelyBody.add(bodyIndex);
|
||||
break blk;
|
||||
}
|
||||
if (!bodyToPosToLine.containsKey(bodyIndex)) {
|
||||
|
||||
@@ -520,6 +520,14 @@ public class Configuration {
|
||||
@ConfigurationFile(".*\\.swc$")
|
||||
public static final ConfigurationItem<String> playerLibLocation = null;
|
||||
|
||||
@ConfigurationDefaultDouble(0.7)
|
||||
@ConfigurationName("gui.avm2.splitPane.vars.dividerLocationPercent")
|
||||
public static final ConfigurationItem<Double> guiAvm2VarsSplitPaneDividerLocationPercent = null;
|
||||
|
||||
@ConfigurationDefaultBoolean(true)
|
||||
@ConfigurationCategory("script")
|
||||
public static final ConfigurationItem<Boolean> debugHalt = null;
|
||||
|
||||
private enum OSId {
|
||||
|
||||
WINDOWS, OSX, UNIX
|
||||
|
||||
@@ -81,7 +81,15 @@ public abstract class CancellableWorker<T> implements RunnableFuture<T> {
|
||||
|
||||
@Override
|
||||
public final boolean cancel(boolean mayInterruptIfRunning) {
|
||||
return future.cancel(mayInterruptIfRunning);
|
||||
boolean r = future.cancel(mayInterruptIfRunning);
|
||||
if (r) {
|
||||
workerCancelled();
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
public void workerCancelled() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user