If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : You can now close your own issues and reopen them later if needed. You can also comment closed issues.
List of issues#2622 Script edition does not save when inserting a "continue" instruction
Author:
tjahier
tjahierDate created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS1/2Direct Editation
State: upgraded 

> What steps will reproduce the problem?
Open a GFX file. Open a script. Enter edition mode in the source code panel. Add a
"continue;" instruction. Click the save button. The panel refreshes: your changes have
vanished.
> What is the expected output? What do you see instead?
My modifications to stay. ^^"
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
24.1.1
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
In the file provided, go for scripts >> __Packages >> <default package> >> Inventory.
Between lines 707 and 708, try to add a "continue;" instruction. It is not kept on save.
However, if I write anything else like toto(), it saves.
Inventory_modded.gfx (208 KiB)More info: it does not happen when using the portable version (zip) of 24.1.2.
You said you are using "24.1.1" in your first post.
So make sure you use "24.1.2", as this was already fixed in it.
From 24.1.2 changelog:
Fixed:
#2585 AS1/2 direct editation - continue and break in for..in loop
State: new→upgraded
OK, sorry! But I need to wait for that antivirus problem to get solved. Have a good day.
