sub phil
unread,Nov 24, 2009, 7:50:01 PM11/24/09You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Leafpad 0.8.17
Just want to mention, that it would be pretty easy for Leafpad to support CSV files as they are just plain text files, which must be aligned in columns.
This would made Leafpad a light csv viewer.
Algorithm could be.
1/ Parse first line to count number of columns and define each column width.
2/ Parse all subsequent lines to find the max width for each columns.
3/ Display the columns with the appropriate width.
Example
col1;col2;col3
1234;a;airoro
12345;abcdefg;jfd
Would results into(hope file format is kept in emailing)
col1 ;col2 ;col3
1234 ;a ;airoro
12345;abcdefg;jfd
Thanks for Leafpad.