Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handler: _update_step: remove calling of mark_selected #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Nov 25, 2020

This should not be necessary in general, since it gets triggered via
CursorMoved already.
It also might trigger an error due to self._vim.current.window not
being a valid window anymore, when cursor gets accessed [1].
It also should not be using the global current window's cursor (which
might be for another buffer!) to mark selected nodes in the buffer.

1: #72

@petobens
Copy link

petobens commented Dec 6, 2020

I've been using this for a while now and it seems to fix the issue described in #72 . Thanks @blueyed :)

@petobens
Copy link

petobens commented Jan 9, 2021

@numirias can you merge this? I've been using it for over a month without problems.

This should not be necessary in general, since it gets triggered via
`CursorMoved` already.
It also might trigger an error due to `self._vim.current.window` not
being a valid window anymore, when `cursor` gets accessed [1].
It also should not be using the global current window's cursor (which
might be for another buffer!) to mark selected nodes in the buffer.

1: numirias#72
@blueyed blueyed force-pushed the rm-mark_selected-from-_update_step branch from 39f49ec to d3e46ba Compare September 28, 2021 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants