mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Rename BufferView::updateScrollbar to show what does
Only parameters are updated, not the scrollbar itself.
This commit is contained in:
parent
47b394f2c5
commit
110445e3e2
@ -583,7 +583,7 @@ void BufferView::processUpdateFlags(Update::flags flags)
|
||||
}
|
||||
|
||||
|
||||
void BufferView::updateScrollbar()
|
||||
void BufferView::updateScrollbarParameters()
|
||||
{
|
||||
if (height_ == 0 && width_ == 0)
|
||||
return;
|
||||
@ -3483,7 +3483,7 @@ void BufferView::draw(frontend::Painter & pain, bool paint_caret)
|
||||
|
||||
// The scrollbar needs an update.
|
||||
// FIXME: does it always? see ticket #11947.
|
||||
updateScrollbar();
|
||||
updateScrollbarParameters();
|
||||
|
||||
// Normalize anchor for next time
|
||||
pair<pit_type, ParagraphMetrics const *> firstpm = tm.first();
|
||||
|
@ -155,8 +155,8 @@ public:
|
||||
int horizScrollOffset(Text const * text,
|
||||
pit_type pit, pos_type pos) const;
|
||||
|
||||
/// reset the scrollbar to reflect current view position.
|
||||
void updateScrollbar();
|
||||
/// reset the scrollbar parameters to reflect current view position.
|
||||
void updateScrollbarParameters();
|
||||
/// return the Scrollbar Parameters.
|
||||
ScrollbarParameters const & scrollbarParameters() const;
|
||||
/// \return Tool tip for the given position.
|
||||
|
Loading…
x
Reference in New Issue
Block a user