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