]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
Fix bug 2485 and crash on middle mouse paste on math
[lyx.git] / src / lyxtext.h
index d2c99999ab14eab50607040dee510d87e8caef4c..dbb957d7746445cfa41a572dd948fe70f14ce799 100644 (file)
@@ -108,7 +108,7 @@ public:
        std::string getStringToIndex(LCursor const & cur);
 
        /// insert a character at cursor position
-       void insertChar(LCursor & cur, char c);
+       void insertChar(LCursor & cur, lyx::char_type c);
        /// insert an inset at cursor position
        void insertInset(LCursor & cur, InsetBase * inset);
 
@@ -168,7 +168,7 @@ public:
        void setCursor(CursorSlice &, pit_type par, pos_type pos);
        ///
        void setCursorIntern(LCursor & cur, pit_type par,
-                pos_type pos, bool setfont = true, bool boundary = false);
+                pos_type pos, bool setfont = true, bool boundary = false);
        ///
        void setCurrentFont(LCursor & cur);
 
@@ -220,8 +220,8 @@ public:
        bool cursorTop(LCursor & cur);
        ///
        bool cursorBottom(LCursor & cur);
-       /// Delete character at cursor. Honour change tracking
-       bool Delete(LCursor & cur);
+       /// Erase character at cursor. Honour change tracking
+       bool erase(LCursor & cur);
        /** At cursor position 0, merge paragraph with the one before it.
         * Ignore CT (this is used in \c acceptChange, \c rejectChange for
         * physical deletion of paragraph break)