This commit is contained in:
Dmitry Avdeev
2014-09-08 19:09:41 +04:00
parent bdfe46bffc
commit 23d0358941
@@ -38,7 +38,7 @@ public class XmlEqTypedHandler extends TypedHandlerDelegate {
PsiElement at = file.findElementAt(editor.getCaretModel().getOffset() - 1);
PsiElement atParent = at != null ? at.getParent() : null;
if(atParent instanceof XmlAttribute && ((XmlAttribute)atParent).getValueElement() == null) {
needToInsertQuotes = atParent instanceof XmlAttribute && ((XmlAttribute)atParent).getValueElement() == null;
needToInsertQuotes = ((XmlAttribute)atParent).getValueElement() == null;
}
}
}