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

Try to restore opened tabs on file reload #793

Merged
merged 2 commits into from
Dec 10, 2019
Merged

Try to restore opened tabs on file reload #793

merged 2 commits into from
Dec 10, 2019

Conversation

S-trace
Copy link
Contributor

@S-trace S-trace commented Dec 10, 2019

Try to reload opened tabs on file reload caused by toggling the Deobfuscation option.
Closes #792 issue.

Save a list of opened tabs and scroll positions for each tab, and try to restore opened tabs after reopening file.
Scroll position may be restored not exactly due to comments in the code (like "Renamed from:"), but usually it will be restored closely to original position.

…yRealName() to JadxWrapper

Those methods is like getFullName() and searchJavaClassByClassName(), but for class names without aliases.
It is necessary for renaming classes/methods/fields.
Restore open tabs if possible when user toggles deobfuscation mode.
Try to scroll to the position before toggling deobfuscation mode (may be not exact cause of the comments).
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

Successfully merging this pull request may close these issues.

[feature] Try to restore open tabs on file reload
2 participants