class Cursor;
class Text;
-class Lexer;
class TransManager;
+namespace support { class Lexer; }
+
///
enum tex_accent {
///
///
TEX_TILDE,
///
+ TEX_PERISPOMENI,
+ ///
TEX_UNDERBAR,
///
TEX_CEDILLA,
///
struct Keyexc {
+ ///
+ Keyexc() : c('\0'), combined(false), accent(TEX_NOACCENT) {}
/// character to make exception
char_type c;
/// exception data
///
class KmodInfo {
public:
+ ///
+ KmodInfo() : accent(TEX_NOACCENT) {}
///
docstring data;
///
///
void freeKeymap();
///
- int load(Lexer &);
+ int load(support::Lexer &);
///
docstring const & match(char_type c);
///
///
TransInitState();
///
- virtual docstring const normalkey(char_type);
+ docstring const normalkey(char_type) override;
///
- virtual bool backspace() { return true; }
+ bool backspace() override { return true; }
///
- virtual docstring const deadkey(char_type, KmodInfo);
+ docstring const deadkey(char_type, KmodInfo) override;
};
///
TransDeadkeyState();
///
- virtual docstring const normalkey(char_type);
+ docstring const normalkey(char_type) override;
///
- virtual bool backspace() {
+ bool backspace() override {
currentState = init_state_;
return false;
}
///
- virtual docstring const deadkey(char_type, KmodInfo);
+ docstring const deadkey(char_type, KmodInfo) override;
};
///
TransCombinedState();
///
- virtual docstring const normalkey(char_type);
+ docstring const normalkey(char_type) override;
///
- virtual bool backspace() {
+ bool backspace() override {
// cancel the second deadkey
deadkey2_ = 0;
deadkey2_info_.accent = TEX_NOACCENT;
return false;
}
///
- virtual docstring const deadkey(char_type, KmodInfo);
+ docstring const deadkey(char_type, KmodInfo) override;
};