diff options
Diffstat (limited to 'xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/FilterNode.java')
-rw-r--r-- | xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/FilterNode.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/FilterNode.java b/xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/FilterNode.java index 2de1c998e140..2ac50c7438aa 100644 --- a/xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/FilterNode.java +++ b/xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/FilterNode.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2010 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.List; @@ -50,6 +51,11 @@ public class FilterNode extends ZenCodingNode { } @Override + public int getApproximateOutputLength(@Nullable CustomTemplateCallback callback) { + return myNode.getApproximateOutputLength(callback); + } + + @Override public String toString() { return "Filter(" + myFilter + ")"; } |