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

Allow to search for full method/field signature #880

Merged
merged 3 commits into from
Mar 10, 2020

Conversation

jpstotz
Copy link
Collaborator

@jpstotz jpstotz commented Mar 9, 2020

The search for methods/fields currently only allows to search for the method/field name, but not for the type or the method arguments.

I extended the text index so that the search text is identical to the displayed text (just without the HTML formatting). This allows to search for methods with a specific method signature.

Because the JMethod and JField makeLongString() implementations were returning HTML formatted text I has to introduce the new methods, makeStringHtml() and makeLongStringHtml() can be used to return a html formatted representation. Therefore the default implementations now only return plain text data. I only needed makeLongString() / makeLongStringHtml() but for consistency I also applied this scheme to makeString() / makeStringHtml().

@skylot skylot merged commit c1f4302 into skylot:master Mar 10, 2020
@skylot
Copy link
Owner

skylot commented Mar 10, 2020

@jpstotz thanks! Nice feature.

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.

2 participants