Overlay bug in find and replace
CompletedSometimes when I click the replace checkbox, the background is not rendered properly. This happened a couple of times with version 1.0.0 (39), but not always.

-
It has to do with whether the pre-filled text matches contents of the file. The text view doesn’t change size when the find bar does for some reason.
I’ll dig around.
Thanks!
0 -
Hmmm... This does not seem to occur when I run on 10.13, but does on 10.14. I have not tested on 10.15 yet.
0 -
If I'm doing it right, it doesn't seem to happen on 10.15.
0 -
To reproduce:
1. Create new document with several paragraphs consisting of the single word "foo". First paragraph should be at very top of document. May or may not need to set top margin to 40 px in appearance prefs.
2. In the new document, Cmd-F to activate find panel. Type foo. The background of the editor view should get darker.
3. Hit the "replace" checkbox and the find bar should double in height. The darker background should now overlap the bottom half of the find bar.
0 -
It does occur in 10.15. Still working on identifying the cause.
0 -
I spent more time on this last night, and still could not solve the issue.
Apparently I never tried reproducing this in TextEdit, but following these instructions *does* replicate the program in that application. At this point, I believe this is an inherent problem in macOS (NSScrollView/NSTextFinder/NSTextview interactions), and not something I can fix.
I will note that when it occurs if you scroll the editor, the issue resolves. So there is a way to make the unusual appearance go away if it is bothering you.
Thanks for reporting this, and I'm sorry I could not fix it.
0
Please sign in to leave a comment.
Comments
6 comments