-
Notifications
You must be signed in to change notification settings - Fork 236
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
Implement search function with regex option #354
Comments
Hi, would the JavaKeywords demo serve as a start? The difference is, in the demo the search expression is constant, whereas you will want to change it dynamically. Should not be too hard. |
Hi Thomas, thank you. I think the JavaKeywordsDemo is good to start. But what i was looking for is a default search implementation. I search for a keyword and goto each result step by step in the text like a normal search function in any editor. Thanks
HL-Systems Telefon: 06433 / 9489750 Internet: http://www.hl-systems.de |
I wouldn't really try to include this in the core of the library (*), but it would make for a nice demo in the demo package. The goal of RichTextFX isn't to build in as much functionality as any user could possibly want, but to provide a solid foundations on top of which applications (and other libraries) could be built. |
Since I've seen this idea phrased in various ways multiple times...
...I've added it to #259's list of things to update in the ReadMe |
I've developed such a search feature. It currently displays the amount of occurrences of the searched phrase, and lets you navigate though the matches using the enter key or with up/down buttons: Currently I have not been able to highlight all matches without losing any previous styling. Instead I just select the next interval with a match when you step through them. But shouldn't be too hard to implement such a behavior. Would anyone be interested in me posting this feature? And if so: Where should I post it? |
See Tomas comment above:
|
Okay. So there's no place to post features built on the richtextfx library? A search function in particular is probably a feature that a lot of people expect from an editor (not that I'm arguing against your point above). Maybe here? https://www.bountysource.com/issues/37614909-implement-search-function-with-regex-option |
I've updated the #259 ReadMe updates to include a note about not merging out-of-scope features into the main code but allowing them to be merged as demos in the demo package. Closing since this is outside the scope of the main project. |
Is it possible to implement an search function to the codearea? The search option should supports regex expressions and mark the results in the codearea.
Does there exists some examples?
The text was updated successfully, but these errors were encountered: