The issue is that VIM::Buffer.render yield's itself BEFORE it clears
itself.
Two quick solutions:
1) Simply manually fixup the mess in StagedRender::initialize after
@b.render {do_next } by adding
@last_render = @b.count
2) First clear the VIM:Buffer before yielding. This exposes one issue in
The issue is that VIM::Buffer.render yield's itself BEFORE it clears
itself.
Two quick solutions:
1) Simply manually fixup the mess in StagedRender::initialize after
@b.render {do_next } by adding
@last_render = @b.count
2) First clear the VIM:Buffer before yielding. This exposes one issue in
The reason is that StagedRender.is_ready depends on last_render, which
get's set to VIM::Buffer.count() in StagedRender::do_next.
I do not (yet) know what exactly happens, but after the first call to
search refresh last_render never get's less than 2*2*window.height.
That means once you do
The reason is that StagedRender.is_ready depends on last_render, which
get's set to VIM::Buffer.count() in StagedRender::do_next.
I do not (yet) know what exactly happens, but after the first call to
search refresh last_render never get's less than 2*2*window.height.
That means once you do