X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathFactory.h;h=9837ca75e2e2284be9aab3e09911cd08cb82f3aa;hb=ecbd047cffa1c4af95cf4ab91a7d2fded4a5584c;hp=7737429a61174e9332dc3a3051909e3ef51b578d;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/mathed/MathFactory.h b/src/mathed/MathFactory.h index 7737429a61..9837ca75e2 100644 --- a/src/mathed/MathFactory.h +++ b/src/mathed/MathFactory.h @@ -24,8 +24,8 @@ class MathAtom; class MathData; -MathAtom createInsetMath(docstring const &); -MathAtom createInsetMath(char const * const); +MathAtom createInsetMath(docstring const &, Buffer * buf); +MathAtom createInsetMath(char const * const, Buffer * buf); /** Fills ar with the contents of str. * str is created by the frontend dialog's and returned to the LyX core. @@ -33,6 +33,11 @@ MathAtom createInsetMath(char const * const); */ bool createInsetMath_fromDialogStr(docstring const &, MathData &); +/** Tells whether the argument is an ascii character or is marked as + * mathalpha in the unicodesymbols file. + */ +bool isAsciiOrMathAlpha(char_type); + typedef std::map MathWordList; MathWordList const & mathedWordList();