Can we move away from emulating neovim behavior for scrolling?
#405 aberto em 26 de abr. de 2017
Métricas do repositório
- Stars
- (11.389 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
I think the Grid implementation is a bit bad, and I don't mean that from an implementation perspective. The scrolling in oni, in my opinion, isn't worse than neovim. At least for me, it feels about the same. If we could somehow render a large (basically render ahead to a certain arbitrary point where it becomes not worth the benefit) portion of the Grid implementation but make it all on an actually scrollable page, we could just send a cursor position back to Neovim instead of sending scroll events. The issue with scroll events is that (especially on OSX) on modern laptops that have fast/inertia scrolling, it's just firing off too many times in a second.