chromium-vim icon indicating copy to clipboard operation
chromium-vim copied to clipboard

Find doesn't work over text with font changes

Open max-sixty opened this issue 6 years ago • 1 comments

Thank you as ever for one of my favorite things in the world.

A small issue I think I found: If I search for pytest\.mark, I don't get results in the case of the first gray box. I think I've reduced that down to the search not spanning font changes. Is that right? If so, is that intended?

image

https://docs.pytest.org/en/latest/parametrize.html

max-sixty avatar Feb 14 '18 23:02 max-sixty

Is this still a thing? I just tried and seems to work now. But, if you just add more span tags inside, then you won't be able to find it anymore. e.g: <span class="std std-ref">pytest<span>.</span>mark.parametrize</span> breaks. If anyone can provide some guidance on this being on purpose or just a bug. I see there's the window.find which might be handy for implementing again this feature.

frankitox avatar Feb 20 '19 04:02 frankitox