mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
Remove unused optional argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40337 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ef4fb9b324
commit
8b6d6eecfd
@ -285,15 +285,15 @@ bool GuiCompleter::inlineVisible() const
|
||||
}
|
||||
|
||||
|
||||
void GuiCompleter::updateVisibility(Cursor & cur, bool start, bool keep, bool cursorInView)
|
||||
void GuiCompleter::updateVisibility(Cursor & cur, bool start, bool keep)
|
||||
{
|
||||
// parameters which affect the completion
|
||||
bool moved = cur != old_cursor_;
|
||||
if (moved)
|
||||
old_cursor_ = cur;
|
||||
|
||||
bool possiblePopupState = popupPossible(cur) && cursorInView;
|
||||
bool possibleInlineState = inlinePossible(cur) && cursorInView;
|
||||
bool const possiblePopupState = popupPossible(cur);
|
||||
bool const possibleInlineState = inlinePossible(cur);
|
||||
|
||||
// we moved or popup state is not ok for popup?
|
||||
if ((moved && !keep) || !possiblePopupState)
|
||||
|
@ -61,7 +61,7 @@ public:
|
||||
/// Update the visibility of the popup and the inline completion.
|
||||
/// This method might set the update flags of the cursor to request
|
||||
/// a redraw.
|
||||
void updateVisibility(Cursor & cur, bool start, bool keep, bool cursorInView = true);
|
||||
void updateVisibility(Cursor & cur, bool start, bool keep);
|
||||
/// Update the visibility of the popup and the inline completion.
|
||||
/// This method handles the redraw if needed.
|
||||
void updateVisibility(bool start, bool keep);
|
||||
|
Loading…
Reference in New Issue
Block a user