]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathHull.h
When inserting math inset over selection, place cursor better
[lyx.git] / src / mathed / InsetMathHull.h
index 183b851ba515450114ae5c6396e1c148fce1c434..73de59f0a2367fb9d06f479720e7f26622277f1d 100644 (file)
@@ -120,10 +120,6 @@ public:
        char defaultColAlign(col_type col);
        ///
        char displayColAlign(idx_type idx) const;
-       ///
-       bool idxFirst(Cursor &) const;
-       ///
-       bool idxLast(Cursor &) const;
 
        ///
        void write(WriteStream & os) const;
@@ -175,9 +171,6 @@ public:
        ///
        void initUnicodeMath() const;
 
-       ///
-       static int displayMargin() { return 12; }
-
        /// Force inset into LTR environment if surroundings are RTL
        virtual bool forceLTR() const { return true; }
        ///
@@ -260,6 +253,8 @@ private:
        bool colChangeOK() const;
        /// are any of the equations numbered?
        bool haveNumbers() const;
+       /// draw four angular markers
+       virtual void drawMarkers(PainterInfo & pi, int x, int y) const;
 
        /// "none", "simple", "display", "eqnarray",...
        HullType type_;
@@ -284,8 +279,6 @@ public:
        ///
        virtual void mutateToText();
        ///
-       virtual void revealCodes(Cursor & cur) const;
-       ///
        bool editable() const { return true; }
        ///
        void edit(Cursor & cur, bool front,
@@ -305,8 +298,6 @@ protected:
        void handleFont2(Cursor & cur, docstring const & arg);
        ///
        bool previewState(BufferView const * const bv) const;
-       ///
-       bool previewTooSmall(Dimension const & dim) const;
 };