]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView_pimpl.h
Point fix, earlier forgotten
[lyx.git] / src / BufferView_pimpl.h
index 1371bcd2f8382e4cecc99456720e8f30fa1679fe..2032a09ec374afe611052a9dd483ef4906743473 100644 (file)
@@ -1,10 +1,18 @@
 // -*- 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
@@ -89,18 +97,22 @@ struct BufferView::Pimpl : public boost::signals::trackable {
        ///
        void insetUnlock();
        ///
-       void toggleSelection(bool = true);
-       ///
        void center();
        ///
        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