]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlatexaccent.h
pos=string::npos for regex not found, use handcoded transform in lstring.C, fix the...
[lyx.git] / src / insets / insetlatexaccent.h
index 424a3444f2452c966c0e9e6973420610bb76c6fe..5e65463fc6dc0d329479724316135325887c17d9 100644 (file)
@@ -33,8 +33,10 @@ public:
        InsetLatexAccent(); 
        ///
        InsetLatexAccent(string const & string);
+#if 0     // the compiler generated version should be ok.
        ///
        InsetLatexAccent(InsetLatexAccent const &);
+#endif
        ///
        int Ascent(LyXFont const & font) const;
        ///
@@ -42,6 +44,10 @@ public:
        ///
        int Width(LyXFont const & font) const;
        ///
+       int Lbearing(LyXFont const & font) const;
+       ///
+       int Rbearing(LyXFont const & font) const;
+       ///
        bool DisplayISO8859_9(LyXFont font, LyXScreen & scr,
                              int baseline, float & x);
        ///
@@ -68,7 +74,6 @@ public:
        Inset::Code LyxCode()const;
        ///
        inline bool CanDisplay();
-private:
        /// all the accent types
        enum ACCENT_TYPES{
                ///
@@ -114,7 +119,7 @@ private:
                ///
                LSLASH
        };
-
+private:
        friend ostream & operator<<(ostream &, ACCENT_TYPES);
        /// Check if we know the modifier and can display it ok on screen.
        void checkContents();