]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/mathml_editor/src/LPushLexer.cc
New version 0.0.2:
[helm.git] / helm / DEVEL / mathml_editor / src / LPushLexer.cc
index 8a22d6678bad9c13ae1c7cda52b2c73d18adfb3b..414dd7826c10af94601698ea2093ab8e1fe47b29 100644 (file)
@@ -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;