diff --git a/platform/usageView/src/com/intellij/usages/impl/ExporterToTextFile.java b/platform/usageView/src/com/intellij/usages/impl/ExporterToTextFile.java index 6b2c2e61d83b..84c3f171114c 100644 --- a/platform/usageView/src/com/intellij/usages/impl/ExporterToTextFile.java +++ b/platform/usageView/src/com/intellij/usages/impl/ExporterToTextFile.java @@ -103,8 +103,11 @@ public class ExporterToTextFile implements com.intellij.ide.ExporterToTextFile { protected void appendUsageNodeText(StringBuilder buf, UsageNode node) { TextChunk[] chunks = node.getUsage().getPresentation().getText(); + int chunkCount = 0; for (TextChunk chunk : chunks) { + if (chunkCount == 1) buf.append(" "); // add space after line number buf.append(chunk.getText()); + ++chunkCount; } }