mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 04:15: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();
|
StringBuffer buffer = new StringBuffer();
|
||||||
boolean showDebugTarget = targetList.size() > 1;
|
boolean showDebugTarget = targetList.size() > 1;
|
||||||
Iterator iterator = targetList.iterator();
|
Iterator iterator = targetList.iterator();
|
||||||
|
boolean first = true;
|
||||||
while ( iterator.hasNext() )
|
while ( iterator.hasNext() )
|
||||||
{
|
{
|
||||||
IDebugTarget target = (IDebugTarget)iterator.next();
|
IDebugTarget target = (IDebugTarget)iterator.next();
|
||||||
|
@ -90,6 +91,14 @@ public class DebugTextHover implements ITextHover
|
||||||
{
|
{
|
||||||
if ( result != null )
|
if ( result != null )
|
||||||
{
|
{
|
||||||
|
if ( first )
|
||||||
|
{
|
||||||
|
first = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
buffer.append( '\n' );
|
||||||
|
}
|
||||||
if ( showDebugTarget )
|
if ( showDebugTarget )
|
||||||
{
|
{
|
||||||
buffer.append( '[' );
|
buffer.append( '[' );
|
||||||
|
|
Loading…
Add table
Reference in a new issue