X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Fmathml_editor%2Fsrc%2FLPushLexer.cc;fp=helm%2FDEVEL%2Fmathml_editor%2Fsrc%2FLPushLexer.cc;h=414dd7826c10af94601698ea2093ab8e1fe47b29;hb=87152a8fc9dc1d743213614da2ba279c8975fd09;hp=8a22d6678bad9c13ae1c7cda52b2c73d18adfb3b;hpb=332af2ea195c3d8d363ba729786c3f7d0d60b50b;p=helm.git diff --git a/helm/DEVEL/mathml_editor/src/LPushLexer.cc b/helm/DEVEL/mathml_editor/src/LPushLexer.cc index 8a22d6678..414dd7826 100644 --- a/helm/DEVEL/mathml_editor/src/LPushLexer.cc +++ b/helm/DEVEL/mathml_editor/src/LPushLexer.cc @@ -41,6 +41,8 @@ LPushLexer::reset() { buffer.erase(); state = ACCEPT; + + displayCursor(); } void @@ -188,7 +190,7 @@ LPushLexer::push(char ch) } break; case ESCAPED_CHARACTER: - if ((ch == '-') || (ch == '_')) + if ((ch == '-') || (ch == '_') || (ch == '/')) { buffer.push_back(ch); state = IDENTIFIER;