Does clipScreenPosition() work? Has anyone used it? When I used
ag on my ~/.atom/packages I only got one result in a spec test for minimap.
Reason I ask:
When I put a debugger in the call back to observeTextEditors(editor) and use editor.clipScreenPosition(position) it works as expected.
Oddly, when I make the same call in the actual code and run through, I never see a difference in position vs the returned clipScreenPosition?
Am I losing context / this? Is it a race condition of sorts?