]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
* lfuns doxification for math macros
[lyx.git] / src / BufferView.h
index 104fa805f15fac6d6adafb6bf1e9c41af2f76665..765267b421b0aaa68a9ea3b33ad8f8a926d85a15 100644 (file)
@@ -36,6 +36,7 @@ class FuncRequest;
 class FuncStatus;
 class Intl;
 class Inset;
+class Menu;
 class ParIterator;
 class ParagraphMetrics;
 class Point;
@@ -106,6 +107,8 @@ public:
        ScrollbarParameters const & scrollbarParameters() const;
        /// \return Tool tip for the given position.
        docstring toolTip(int x, int y) const;
+       /// \return the context menu for the given position.
+       docstring contextMenu(int x, int y) const;
 
        /// Save the current position as bookmark.
        /// if idx == 0, save to temp_bookmark
@@ -131,6 +134,8 @@ public:
        /// This method will automatically scroll and update the BufferView and updated 
        /// if needed.
        void showCursor();
+       /// LFUN_SCROLL Helper.
+       void lfunScroll(FuncRequest const & cmd);
        /// scroll down document by the given number of pixels.
        void scrollDown(int pixels);
        /// scroll up document by the given number of pixels.