]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetSpecialChar.h
Use new display() values to remove some inset hardcoding.
[features.git] / src / insets / InsetSpecialChar.h
index 6474c571733ac2f7c8b574580e18a3387b15871d..982b1d51a385ffa97f504e470779fe4da50fbc06 100644 (file)
@@ -30,6 +30,8 @@ public:
        enum Kind {
                /// Optional hyphenation point (\-)
                HYPHENATION,
+               /// Optional line wrap point without hyphen (ZWSP)
+               ALLOWBREAK,
                /// Ligature break point (\textcompwordmark)
                LIGATURE_BREAK,
                /// ... (\ldots)
@@ -59,6 +61,8 @@ public:
        ///
        Kind kind() const;
        ///
+       docstring toolTip(BufferView const & bv, int x, int y) const;
+       ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -78,7 +82,7 @@ public:
        ///
        void toString(odocstream &) const;
        ///
-       bool isInToc() const { return true; }   
+       bool isInToc() const { return true; }
        ///
        void forOutliner(docstring &, size_t const, bool const) const;
        ///