// -*- 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
///
void redoCurrentBuffer();
///
- int resizeCurrentBuffer();
+ void resizeCurrentBuffer();
///
void update();
/**
///
void insetUnlock();
///
- void toggleSelection(bool = true);
- ///
void center();
///
bool insertInset(InsetOld * inset, string const & lout = string());
///
- void updateInset(InsetOld * inset);
+ 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