Merge pull request #480 from hajdam/bined-library-update
Update of BinEd library
This commit is contained in:
commit
e60f12eba2
13
pom.xml
13
pom.xml
|
@ -16,7 +16,7 @@
|
||||||
<annotations.version>24.1.0</annotations.version>
|
<annotations.version>24.1.0</annotations.version>
|
||||||
<apktool.version>2.9.1</apktool.version>
|
<apktool.version>2.9.1</apktool.version>
|
||||||
<asm.version>9.6</asm.version>
|
<asm.version>9.6</asm.version>
|
||||||
<bined.version>0.2.0</bined.version>
|
<bined.version>0.2.1</bined.version>
|
||||||
<byteanalysis.version>1.0bcv</byteanalysis.version>
|
<byteanalysis.version>1.0bcv</byteanalysis.version>
|
||||||
<cfr.version>0.152</cfr.version>
|
<cfr.version>0.152</cfr.version>
|
||||||
<cloning.version>1.9.12</cloning.version>
|
<cloning.version>1.9.12</cloning.version>
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<jgraphx.version>3.4.1.3</jgraphx.version>
|
<jgraphx.version>3.4.1.3</jgraphx.version>
|
||||||
<js.version>21.2.0</js.version>
|
<js.version>21.2.0</js.version>
|
||||||
<objenesis.version>3.3</objenesis.version>
|
<objenesis.version>3.3</objenesis.version>
|
||||||
<paged-data.version>0.2.0</paged-data.version>
|
<binary-data.version>0.2.1</binary-data.version>
|
||||||
<procyon.version>0.6.0</procyon.version>
|
<procyon.version>0.6.0</procyon.version>
|
||||||
<rsyntaxtextarea.version>3.3.4</rsyntaxtextarea.version>
|
<rsyntaxtextarea.version>3.3.4</rsyntaxtextarea.version>
|
||||||
<semantic-version.version>2.1.1</semantic-version.version>
|
<semantic-version.version>2.1.1</semantic-version.version>
|
||||||
|
@ -242,8 +242,13 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.exbin.auxiliary</groupId>
|
<groupId>org.exbin.auxiliary</groupId>
|
||||||
<artifactId>paged_data</artifactId>
|
<artifactId>binary_data</artifactId>
|
||||||
<version>${paged-data.version}</version>
|
<version>${binary-data.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.exbin.auxiliary</groupId>
|
||||||
|
<artifactId>binary_data-paged</artifactId>
|
||||||
|
<version>${binary-data.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bitbucket.mstrobel</groupId>
|
<groupId>org.bitbucket.mstrobel</groupId>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package the.bytecode.club.bytecodeviewer.gui.hexviewer;
|
package the.bytecode.club.bytecodeviewer.gui.hexviewer;
|
||||||
|
|
||||||
import org.exbin.auxiliary.paged_data.ByteArrayData;
|
import org.exbin.auxiliary.binary_data.ByteArrayData;
|
||||||
import org.exbin.bined.CodeAreaCaretPosition;
|
import org.exbin.bined.CodeAreaCaretPosition;
|
||||||
import org.exbin.bined.CodeType;
|
import org.exbin.bined.CodeType;
|
||||||
import org.exbin.bined.EditMode;
|
import org.exbin.bined.EditMode;
|
||||||
|
@ -37,6 +37,7 @@ public class HexViewer extends JPanel {
|
||||||
public HexViewer(byte[] contentData) {
|
public HexViewer(byte[] contentData) {
|
||||||
super(new BorderLayout());
|
super(new BorderLayout());
|
||||||
codeArea = new CodeArea();
|
codeArea = new CodeArea();
|
||||||
|
codeArea.setFocusTraversalKeysEnabled(false);
|
||||||
codeArea.setPainter(new HighlightNonAsciiCodeAreaPainter(codeArea));
|
codeArea.setPainter(new HighlightNonAsciiCodeAreaPainter(codeArea));
|
||||||
toolBar = new JToolBar();
|
toolBar = new JToolBar();
|
||||||
statusPanel = new BinaryStatusPanel() {
|
statusPanel = new BinaryStatusPanel() {
|
||||||
|
|
|
@ -14,8 +14,7 @@ import org.exbin.bined.CaretMovedListener;
|
||||||
import org.exbin.bined.CodeAreaCaretPosition;
|
import org.exbin.bined.CodeAreaCaretPosition;
|
||||||
import org.exbin.bined.DataChangedListener;
|
import org.exbin.bined.DataChangedListener;
|
||||||
import org.exbin.bined.swing.basic.CodeArea;
|
import org.exbin.bined.swing.basic.CodeArea;
|
||||||
import org.exbin.auxiliary.paged_data.BinaryData;
|
import org.exbin.auxiliary.binary_data.BinaryData;
|
||||||
import org.exbin.bined.capability.EditModeCapable;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Values side panel.
|
* Values side panel.
|
||||||
|
@ -711,7 +710,7 @@ public class ValuesPanel extends javax.swing.JPanel {
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isEditable() {
|
private boolean isEditable() {
|
||||||
return ((EditModeCapable) codeArea).isEditable();
|
return codeArea.isEditable();
|
||||||
}
|
}
|
||||||
|
|
||||||
private ByteOrder getByteOrder() {
|
private ByteOrder getByteOrder() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user