Skip to content

handler: _update_step: remove calling of mark_selected#94

Open
blueyed wants to merge 1 commit into
numirias:masterfrom
blueyed:rm-mark_selected-from-_update_step
Open

handler: _update_step: remove calling of mark_selected#94
blueyed wants to merge 1 commit into
numirias:masterfrom
blueyed:rm-mark_selected-from-_update_step

Conversation

@blueyed

@blueyed blueyed commented Nov 25, 2020

Copy link
Copy Markdown
Contributor

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

@blueyed blueyed force-pushed the rm-mark_selected-from-_update_step branch from f5e9ae6 to 39f49ec Compare November 25, 2020 19:54
@petobens

petobens commented Dec 6, 2020

Copy link
Copy Markdown

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

@petobens

petobens commented Jan 9, 2021

Copy link
Copy Markdown

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

2 participants