+ : char_(c), code_((t == LM_TC_MIN) ? nativeCode(c) : t)
+{
+//lyxerr << "creating char '" << char_ << "' with code " << int(code_) << endl;
+}
+
+
+MathTextCodes MathCharInset::nativeCode(char c) const
+{
+ if (isalpha(c))
+ return LM_TC_VAR;
+ //if (strchr("0123456789;:!|[]().,?+/-*<>=", c)
+ return LM_TC_CONST;
+}