X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfunc.h;h=19a403b56dd2a83aa7010055a8614fae3098c6f0;hb=09e01879979643949f1f2c7216023f1f35d5ada2;hp=bd5e4e6b6513139077b21353016788cc214fc4a5;hpb=13349032cb4dc8ef44146aa652ff6bbff6698249;p=lyx.git diff --git a/src/lyxfunc.h b/src/lyxfunc.h index bd5e4e6b65..19a403b56d 100644 --- a/src/lyxfunc.h +++ b/src/lyxfunc.h @@ -2,14 +2,9 @@ #ifndef LYXFUNC_H #define LYXFUNC_H -#ifdef __GNUG__ -#pragma interface -#endif - - #include "FuncStatus.h" #include "kbsequence.h" -#include "commandtags.h" +#include "lfuns.h" #include "LString.h" #include @@ -77,6 +72,10 @@ private: /// LyXView * owner; + + /// the last character added to the key sequence, in ISO encoded form + char encoded_last_key; + /// kb_sequence keyseq; /// @@ -84,7 +83,7 @@ private: /// key_modifier::state meta_fake_bit; /// - void moveCursorUpdate(bool flag = true, bool selecting = false); + void moveCursorUpdate(); /// void setupLocalKeymap(); /// Error status, only Dispatch can change this flag @@ -114,23 +113,6 @@ private: /// void closeBuffer(); - /// - void reloadBuffer(); - /// - // This return or directly text (default) of getLyXText() - /// - LyXText * TEXT(bool) const; - /// }; - -/*-------------------- inlines --------------------------*/ - -inline -bool LyXFunc::wasMetaKey() const -{ - return (meta_fake_bit != key_modifier::none); -} - - #endif