diff options
Diffstat (limited to 'xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/ZenEmptyNode.java')
-rw-r--r-- | xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/ZenEmptyNode.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/ZenEmptyNode.java b/xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/ZenEmptyNode.java index 9b92681068cd..9282d36f1927 100644 --- a/xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/ZenEmptyNode.java +++ b/xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/ZenEmptyNode.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2013 JetBrains s.r.o. + * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ package com.intellij.codeInsight.template.emmet.nodes; import com.intellij.codeInsight.template.CustomTemplateCallback; import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; import java.util.Collections; import java.util.List; @@ -39,6 +40,11 @@ public class ZenEmptyNode extends ZenCodingNode { } @Override + public int getApproximateOutputLength(@Nullable CustomTemplateCallback callback) { + return 0; + } + + @Override public String toString() { return "EMPTY_NODE"; } |