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:
parent
114372c4fc
commit
c732f75c54
1 changed files with 9 additions and 0 deletions
|
@ -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( '[' );
|
||||
|
|
Loading…
Add table
Reference in a new issue