> >> i need to call some kind of redraw when comming back from fullscreen mode > >> (scrollbar needs some update and probably recomputation). > > > > I don't really understand why you need that as a redraw should be triggered > > automatically following a resize event (which you get if you come back from > > fullscreen mode). Hum... Maybe a scrolling reset is missing in > > BufferView::resize()? > > resize wont help, i have tried. calling screen-recenter from ui helped, > calling dispatch(FuncRequest(LFUN_SCREEN_RECENTER)) didnt. > > > >> what routine > >> should i call? (this routine is not triggered when moving with cursor but > >> its trigger when i select some text into selection by mouse). > > > > BufferView::updateMetrics() followed by Buffer::changed(). > > will try this.
adding d.current_work_area_->bufferView().updateMetrics(); d.current_work_area_->bufferView().buffer().changed(); didnt helped. the cursor in invisible after comming from fullscreen, when moving it appears but in wrong coordinates. scrollbar is not showed correctly. only functional workaround was to call screen-recenter from command buffer or select some text with mouse. pavel