atom-narrow icon indicating copy to clipboard operation
atom-narrow copied to clipboard

incorrect highlight

Open t9md opened this issue 8 years ago • 2 comments

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).

t9md avatar Oct 01 '17 14:10 t9md

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).

t9md avatar Feb 23 '18 09:02 t9md

#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.

t9md avatar Feb 26 '18 06:02 t9md