clean up
authorEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Wed, 7 Apr 2010 16:57:45 +0000 (20:57 +0400)
committerEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Wed, 7 Apr 2010 16:57:45 +0000 (20:57 +0400)
xml/impl/src/com/intellij/codeInsight/template/zencoding/XmlZenCodingInterpreter.java

index 5751a50e62387476bc33af354b19f0690bbfa2fe..2502424eb1b43e1a11d8ca760454b88fe01305fa 100644 (file)
@@ -108,21 +108,6 @@ class XmlZenCodingInterpreter {
       myCallback.fixEndOffset();
       editor.getCaretModel().moveToOffset(newOffset);
     }
-
-    /*CharSequence tagName = getPrecedingTagName(text, offset, startOfTemplate);
-    if (tagName != null) {
-      *//*if (!hasClosingTag(text, tagName, offset, endOfTemplate)) {
-        document.insertString(offset, "</" + tagName + '>');
-      }*//*
-    }
-    else if (offset != endOfTemplate) {
-      tagName = getPrecedingTagName(text, endOfTemplate, startOfTemplate);
-      if (tagName != null) {
-        *//*fixEndOffset();
-        document.insertString(endOfTemplate, "</" + tagName + '>');*//*
-        editor.getCaretModel().moveToOffset(endOfTemplate);
-      }
-    }*/
   }
 
   // returns if expanding finished