X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Fmathml_editor%2Fsrc%2FLPushLexer.cc;h=a16801bf0d03f6e533be2fce52d5ffd33823173a;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=8a22d6678bad9c13ae1c7cda52b2c73d18adfb3b;hpb=701bff1d89e9dbf8b1f6d6b627bab375cb71f1af;p=helm.git diff --git a/helm/DEVEL/mathml_editor/src/LPushLexer.cc b/helm/DEVEL/mathml_editor/src/LPushLexer.cc index 8a22d6678..a16801bf0 100644 --- a/helm/DEVEL/mathml_editor/src/LPushLexer.cc +++ b/helm/DEVEL/mathml_editor/src/LPushLexer.cc @@ -25,6 +25,7 @@ #include #include +#include #include "ALogger.hh" #include "TToken.hh" @@ -41,6 +42,8 @@ LPushLexer::reset() { buffer.erase(); state = ACCEPT; + + displayCursor(); } void @@ -188,7 +191,7 @@ LPushLexer::push(char ch) } break; case ESCAPED_CHARACTER: - if ((ch == '-') || (ch == '_')) + if ((ch == '-') || (ch == '_') || (ch == '/')) { buffer.push_back(ch); state = IDENTIFIER;