1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-29 20:05:35 +02:00

New line for each debug target.

This commit is contained in:
Mikhail Khodjaiants 2002-10-04 21:43:47 +00:00
parent 114372c4fc
commit c732f75c54

View file

@ -79,6 +79,7 @@ public class DebugTextHover implements ITextHover
StringBuffer buffer = new StringBuffer();
boolean showDebugTarget = targetList.size() > 1;
Iterator iterator = targetList.iterator();
boolean first = true;
while ( iterator.hasNext() )
{
IDebugTarget target = (IDebugTarget)iterator.next();
@ -90,6 +91,14 @@ public class DebugTextHover implements ITextHover
{
if ( result != null )
{
if ( first )
{
first = false;
}
else
{
buffer.append( '\n' );
}
if ( showDebugTarget )
{
buffer.append( '[' );