shown only the constant pool(s) in pcode editor

This commit is contained in:
honfika@gmail.com
2015-05-07 15:25:28 +02:00
parent e7c8a8bf06
commit 732087f20f
11 changed files with 147 additions and 30 deletions

View File

@@ -205,7 +205,7 @@ public class ASMSourceEditorPane extends LineMarkedEditorPane implements CaretLi
public boolean save() {
try {
String text = getText();
if (text.trim().startsWith("#hexdata")) {
if (text.trim().startsWith(Helper.hexData)) {
byte[] data = Helper.getBytesFromHexaText(text);
MethodBody mb = abc.bodies.get(bodyIndex);
mb.setCodeBytes(data);