diff options
Diffstat (limited to 'xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/ClimbUpOperationNode.java')
-rw-r--r-- | xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/ClimbUpOperationNode.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/ClimbUpOperationNode.java b/xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/ClimbUpOperationNode.java index 1648a36f6408..28cc0a8c1533 100644 --- a/xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/ClimbUpOperationNode.java +++ b/xml/impl/src/com/intellij/codeInsight/template/emmet/nodes/ClimbUpOperationNode.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. @@ -71,4 +71,9 @@ public class ClimbUpOperationNode extends ZenCodingNode { public String toString() { return "^"; } + + @Override + public int getApproximateOutputLength(CustomTemplateCallback callback) { + return myLeftOperand.getApproximateOutputLength(callback) + myRightOperand.getApproximateOutputLength(callback); + } } |