atom-narrow
atom-narrow copied to clipboard
incorrect highlight
I think this is caused by upstream issue(https://github.com/atom/atom/issues/15581).
e.g narrow:search, this.vimState.occurrenceManager in vim-mode-plus codebase.
happens regardless of searcher(ag, rg).
This is because of odd cursor column measurement on TextEditorComponent.
- When cursor is mode in
onDidChangeActivePaneItem - And
measureHorizontalPositionsOnLine()was called on not visible editor's component. - This result in caching incorrect measurement and used when it's become visible.
But anyway, I'm also finding the way to solve this bug in client-side(=narrow pkg).
#286 might fix this issue. If I won't see this issue for a week, I'll close. Then reopen when I hit it again by any chance.