// -*- C++ -*-
/**
* \file BufferView_pimpl.h
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author various
+ * \author Asger Alstrup
+ * \author Alfredo Braustein
+ * \author Lars Gullik Bjønnes
+ * \author John Levon
+ * \author André Pönitz
+ * \author Dekel Tsur
+ * \author Jürgen Vigna
+ *
+ * Full author contact details are available in file CREDITS.
*/
#ifndef BUFFERVIEW_PIMPL_H
///
bool insertInset(InsetOld * inset, string const & lout = string());
///
- void updateInset();
+ void updateInset(InsetOld const * inset);
/// a function should be executed from the workarea
bool workAreaDispatch(FuncRequest const & ev);
/// a function should be executed
bool dispatch(FuncRequest const & ev);
+ ///
+ int top_y() const;
+ ///
+ void top_y(int y);
private:
+ /// the y coordinate of the top of the screen
+ int top_y_;
/// An error list (replaces the error insets)
ErrorList errorlist_;
/// add an error to the list