mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14868 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6afe0b915c
commit
0542f28f04
@ -1193,9 +1193,9 @@ void LyXText::insertChar(LCursor & cur, char_type c)
|
||||
par.isFreeSpacing();
|
||||
|
||||
if (lyxrc.auto_number) {
|
||||
static string const number_operators = "+-/*";
|
||||
static string const number_unary_operators = "+-";
|
||||
static string const number_seperators = ".,:";
|
||||
static docstring const number_operators = lyx::from_ascii("+-/*");
|
||||
static docstring const number_unary_operators = lyx::from_ascii("+-");
|
||||
static docstring const number_seperators = lyx::from_ascii(".,:");
|
||||
|
||||
if (current_font.number() == LyXFont::ON) {
|
||||
if (!isDigit(c) && !contains(number_operators, c) &&
|
||||
|
Loading…
Reference in New Issue
Block a user