Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Go to address #1

Open
zareimz opened this issue May 4, 2024 · 4 comments
Open

Add Go to address #1

zareimz opened this issue May 4, 2024 · 4 comments

Comments

@zareimz
Copy link

zareimz commented May 4, 2024

Hi Miroslav Hajda
I used exbin hex Editor library in my application
I added it to the go to address function
codeArea moves to the desired address, but scrolling does not
And after scrolling again, it returns to the previous address

private void goToPosition(long newPosition) {
codeArea.revealPosition(new DefaultCodeAreaCaretPosition( newPosition, 0,codeArea.getActiveSection() ));
codeArea.setCaretPosition( newPosition);
}

Please help to fix this issue
@hajdam
Copy link
Member

hajdam commented May 4, 2024

Hi,
Android variant was under development long time ago. It has unfinished rendering, scrolling, virtual keyboard, settings, operations - basically pretty much everything is not finished :-| I reached some hurdles during development and as there are multiple hex editors for Android / even open source ones, it didn't seem worth to continue.

Maybe you could try / would prefer to use other hex editor? For example: https://github.com/Keidan/HexViewer

@zareimz
Copy link
Author

zareimz commented May 5, 2024 via email

@hajdam
Copy link
Member

hajdam commented May 5, 2024

Nice to hear it is at least somewhat useful to someone.

I updated android app to use libraries from maven instead so you can get sources from maven or from source repositories:
https://github.com/exbin/bined-lib-java/tree/master/modules/bined-core
https://github.com/exbin/exbin-auxiliary-java/tree/master/modules/binary_data

@hajdam
Copy link
Member

hajdam commented May 9, 2024

Fixed some scrolling issue, but I'm not sure if it will help you with your problem.
Also I believe in normal situation codeArea.setCaretPosition(...) should already scroll to reveal caret (cursor)...
Still lot of issues to fix if I'll have time / ability to do so...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants