google-code-export / asdec

Automatically exported from code.google.com/p/asdec
1 stars 0 forks source link

slot/const default value; syntax highlight problem #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Editing public static const or var will result in no changes.
It will say that it changed the trait. But still nothing changed.

This works good in the beta1. The reason I still using it.

What version of the product are you using? On what operating system?
1.1.0, 1.2.0u1, beta1, Windows 7

Could you provide the SWF file you have problem with?
If the answer is yes, then please attach it here or send me it via email.
Could you at least attach PCode source?

public static var test:String = "test";

Do you have the original source code which produced the wrong
decompilation? If yes, then please attach it.

Please provide any additional information below.

Original issue reported on code.google.com by capas...@gmail.com on 20 Jan 2013 at 7:28

Attachments:

GoogleCodeExporter commented 9 years ago
Hi, static variables and constants are usually initialized in class 
initializer. Decompiled source displays values which are taken from the class 
initializer.
You can edit these values in the class initializer. (You can select it in 
Traits list on left bottom corner of the window).

(The second thing is - I see there is something wrong with the code 
highlighting (JSyntaxPane) , this needs fix.)

Original comment by jindra.p...@gmail.com on 20 Jan 2013 at 9:54

GoogleCodeExporter commented 9 years ago

Original comment by jindra.p...@gmail.com on 20 Jan 2013 at 9:54

GoogleCodeExporter commented 9 years ago
The syntax highlighter fix will be in next release of ASDec. If you want to fix 
it now, put attached file to lib directory (overwrite older).

For the original problem: You can edit it in class initilizer. So I close this.

Original comment by jindra.p...@gmail.com on 20 Jan 2013 at 10:28

Attachments: