]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
minimal effort implementation of:
[lyx.git] / src / lyxtext.h
index 118d832d6646c9d7275a98391ebffa62858596bc..4ec3824e002703bbe725d7c394f10254e063a315 100644 (file)
@@ -51,6 +51,8 @@ public:
        ///
        typedef lyx::pos_type pos_type;
        ///
+       typedef lyx::char_type char_type;
+       ///
        typedef lyx::pit_type pit_type;
 
        /// constructor
@@ -275,7 +277,7 @@ public:
        int singleWidth(Paragraph const & par, pos_type pos) const;
        ///
        int singleWidth(Paragraph const & par,
-               pos_type pos, char c, LyXFont const & Font) const;
+               pos_type pos, char_type c, LyXFont const & Font) const;
 
        /// return the color of the canvas
        LColor_color backgroundColor() const;