-
Notifications
You must be signed in to change notification settings - Fork 439
Add standard text search and replace #2559
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
base: master
Are you sure you want to change the base?
Conversation
app/src/main/java/net/gsantner/markor/frontend/search/Occurrence.java
Outdated
Show resolved
Hide resolved
|
Thanks for working on this and the screenshot! To me at least it looks quite complicated at first, user will next ask where can I replace only this highlighted one? Where can I replace all? Thats the two most important buttons to be easy recognizable |
These two features have already been implemented in this PR, and these two buttons can popup tool tips, users can easily recognize it. |
|
Sorry, this PR has been put on hold for a long time. I will continue to improve it in these days. |
|
Icons are from microsoft/vscode-icons: Icons for Visual Studio Code |
|
Hello guanglinn, what did you mean with visual studio code icons? If a option viable, at Markor normal Android icon set is used |
|
I mean, the icons used for this new find & replace are from vscode-icons, this is a open source icon set, and it's nice, so I just made a declaration here to indicate that we used it. |
|
We can switch from standard text search to the original line based search. petal_20260127_005257.mp4 |


This PR makes Markor support the standard text find/search and replace adopted by many other popular text editors.
#2164 #2341 #2582
Supported features are as follows:
Standard UI for text find & replace
Highlight all occurrences/matches
Highlight current match
Move to previous/next match
Match case
Match whole word
Use regular expression
Find in selection
Replace once
Replace all
Preserve case when replacing
Toggle to line based text search