X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftrans_mgr.h;h=06e98991eb0d0d068df3c17d59f4f92d30da082f;hb=c68f3da771a54ef78bd309b8f1a81c374d2fea4c;hp=74fdf1d8b90e5aec64cc015a460197429ed7494e;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/trans_mgr.h b/src/trans_mgr.h index 74fdf1d8b9..06e98991eb 100644 --- a/src/trans_mgr.h +++ b/src/trans_mgr.h @@ -22,6 +22,7 @@ namespace lyx { +class LCursor; class LyXText; class Trans; @@ -150,9 +151,9 @@ private: /// CharacterSet chset_; /// - void insert(std::string const &, LyXText *); + void insert(std::string const &, LyXText *, LCursor & cur); /// - void insertVerbatim(std::string const &, LyXText *); + void insertVerbatim(std::string const &, LyXText *, LCursor & cur); public: /// TransManager(); @@ -175,13 +176,13 @@ public: return trans_fsm_.currentState->backspace(); } /// - void translateAndInsert(char, LyXText *); + void translateAndInsert(char, LyXText *, LCursor &); /// std::string const deadkey(char, KmodInfo); /// std::string const normalkey(char); /// - void deadkey(char, tex_accent, LyXText *); + void deadkey(char, tex_accent, LyXText *, LCursor &); };