Skip to content

Commit ddd1d29

Browse files
author
kasemir
committed
Remove extra tabs from tab-separated export now that Excel has its own
1 parent 3c2966d commit ddd1d29

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

app/databrowser/src/main/java/org/csstudio/trends/databrowser3/export/ExportJob.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public void run()
8787
}
8888
}
8989

90-
/** @param comment Comment prefix ('#\t' for most ASCII, '%' for Matlab, ...)
90+
/** @param comment Comment prefix ('# ' for most ASCII, '% ' for Matlab, ...)
9191
* @param model Model with data
9292
* @param start Start time
9393
* @param end End time

app/databrowser/src/main/java/org/csstudio/trends/databrowser3/export/PlainExportJob.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,8 @@ public PlainExportJob(final Model model,
4545
final String filename,
4646
final Consumer<Exception> error_handler,
4747
final boolean unixTimeStamp)
48-
{ // MS Excel fails to recognize tab-separated data columns
49-
// unless the initial header rows also contain at least one tab per row,
50-
// so add that to comment
51-
super("#\t", model, start, end, source, optimize_parameter, filename, error_handler, unixTimeStamp);
48+
{
49+
super("# ", model, start, end, source, optimize_parameter, filename, error_handler, unixTimeStamp);
5250
this.formatter = formatter;
5351
}
5452

0 commit comments

Comments
 (0)