X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FEncoding.h;h=aac632e6dad7d812cf805dc47886f00cde87aac1;hb=20a9c7a38184c10b95ed0fca7dfc6728425ea418;hp=f1513c8f625ff85ec95c4de6d30b0cd47a40b27b;hpb=699a6db9fa168f91458a17d4f30c124e52a38054;p=lyx.git diff --git a/src/Encoding.h b/src/Encoding.h index f1513c8f62..aac632e6da 100644 --- a/src/Encoding.h +++ b/src/Encoding.h @@ -52,6 +52,8 @@ enum CharInfoFlags { CharInfoMathNoTermination = 32, /// CharInfoForceSelected = 64, + /// + CharInfoDeprecated = 128 }; @@ -86,6 +88,8 @@ public: bool force() const { return flags_ & CharInfoForce ? true : false; } /// Force the LaTeX command for some encodings? bool forceselected() const { return flags_ & CharInfoForceSelected ? true : false; } + /// Disable LaTeX command => char_type conversion for this deprecated symbol? + bool deprecated() const { return flags_ & CharInfoDeprecated ? true : false; } /// TIPA shortcut std::string const tipashortcut() const { return tipashortcut_; } /// \c textcommand needs no termination (such as {} or space).