SimpleColoredText text = new SimpleColoredText();
text.append(name, XDebuggerUIConstants.VALUE_NAME_ATTRIBUTES);
text.append(separator, SimpleTextAttributes.REGULAR_ATTRIBUTES);
- text.append(trimValue(value, name.length() + separator.length()), SimpleTextAttributes.REGULAR_ATTRIBUTES);
-
+ text.append(value, SimpleTextAttributes.REGULAR_ATTRIBUTES);
JComponent component;
if (!hasChildren) {
showHint(component);
}
- private static String trimValue(String value, int len) {
- if (value.length() + len > MAX_HINT_LENGTH) {
- value = value.substring(0, MAX_HINT_LENGTH - len) + "...";
- }
- return value;
- }
-
private void showTree(final XValue value, final String name) {
XDebuggerTree tree = new XDebuggerTree(myDebugSession, myDebugSession.getDebugProcess().getEditorsProvider(),
myDebugSession.getCurrentPosition(), XDebuggerActions.VALUE_HINT_TREE_POPUP_GROUP);