From f484b602b067220348c298c17fc58dd11cb77071 Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Thu, 19 Feb 2015 16:28:03 +0300 Subject: [PATCH] use old limit for name --- .../intellij/xdebugger/impl/ui/tree/nodes/XValueNodeImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/tree/nodes/XValueNodeImpl.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/tree/nodes/XValueNodeImpl.java index 8239bc48fca9..d0d5aaabeeac 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/tree/nodes/XValueNodeImpl.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/tree/nodes/XValueNodeImpl.java @@ -61,6 +61,8 @@ public class XValueNodeImpl extends XValueContainerNode implements XValu } }; + private static final int MAX_NAME_LENGTH = 100; + private final String myName; @Nullable private String myRawValue; @@ -215,7 +217,7 @@ public class XValueNodeImpl extends XValueContainerNode implements XValu private void appendName() { if (!StringUtil.isEmpty(myName)) { SimpleTextAttributes attributes = myChanged ? XDebuggerUIConstants.CHANGED_VALUE_ATTRIBUTES : XDebuggerUIConstants.VALUE_NAME_ATTRIBUTES; - XValuePresentationUtil.renderValue(myName, myText, attributes, MAX_VALUE_LENGTH, null); + XValuePresentationUtil.renderValue(myName, myText, attributes, MAX_NAME_LENGTH, null); } }