WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@jpstotz
Copy link
Collaborator

@jpstotz jpstotz commented Nov 6, 2025

In my understanding the part that causes the unlimited recursion of issue #2685 was responsible for continuing search for the beginning of a file, when the end of the text was reached (or the other way around when searching backward).

As RSyntaxTextArea SearchContext has the searchWrap property which enabled searching exactly using that behavior we can get rid of the recursive search call and let RSyntaxTextArea do the work.

fixes #2685

Copy link
Owner

@skylot skylot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great 👍

@skylot skylot merged commit cda1b1a into skylot:master Nov 6, 2025
4 checks passed
@jpstotz jpstotz deleted the search branch November 20, 2025 19:33
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.

[gui] Regex search starting with '(' causes jadx-gui to freeze

2 participants