VIM: search_refresh limits message count to 2 * window.height

2014-10-13 Thread Franz Fellner
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

Re: VIM: search_refresh limits message count to 2 * window.height

2014-10-13 Thread Franz Fellner
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

VIM: search_refresh limits message count to 2 * window.height

2014-10-10 Thread Franz Fellner
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

VIM: search_refresh limits message count to 2 * window.height

2014-10-10 Thread Franz Fellner
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