mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 21:55:01 +07:00
No space between line number and code when exporting found occurrences to text file (IDEA-157440)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user