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

Text searching not working properly on plain text document #35

Closed
jbayotlang opened this issue Apr 19, 2016 · 6 comments
Closed

Text searching not working properly on plain text document #35

jbayotlang opened this issue Apr 19, 2016 · 6 comments

Comments

@jbayotlang
Copy link

No description provided.

@aerth
Copy link
Contributor

aerth commented Apr 19, 2016

works for me... press ctrl+f and start typing.. ctrl+n is find Next

@jbayotlang
Copy link
Author

Sorry I didn't provide a description. The text search is working fine on other file types but when I opened a plain text document and try text searching, the wrong word is highlighted.

@aerth
Copy link
Contributor

aerth commented Apr 19, 2016

Hey @jbayotlang are you on latest version? btw the find is Case SenSitive.

Can you provide a sample text file so I can try to reproduce? That seems so funky!

@zyedidia
Copy link
Owner

zyedidia commented Apr 19, 2016

Please note that find takes a regular expression so if you are using any special characters make sure to escape them with \. That said, I found a bug where find was highlighting the wrong string, but I still don't know what the cause is.

@aerth
Copy link
Contributor

aerth commented May 19, 2016

When finding "\n", micro actually highlights the line endings. Not sure if this is intentional or part of the 'wrong string highlighting'

@zyedidia
Copy link
Owner

This is probably the same issue as #134, which has now been fixed.

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

No branches or pull requests

3 participants