Aligning text in a data set, or file.
Posted: Wed Oct 11, 2006 2:27 pm
Hi
I often do searches of log files in TextPad. when the results come out they are preceded by the filename and parenthetical line count then a colon. This is also great. But it means that the log record it's self does not line up correctly as some are prefixed with "filename.txt(1): " and some with "filename.txt(99999): ".
in order for me to quickly recognize some issues it is advantages for me to have the log records shown all line up. I have done this in the past manually adding one or many space(s) between the closing parenthetical and the colon. this is a problem however when the search results in 160000 results from eight to twelve files.
is there an easy way to align the text of a data file or the search results by inserting a variable number of spaces?
thanks very much.
I often do searches of log files in TextPad. when the results come out they are preceded by the filename and parenthetical line count then a colon. This is also great. But it means that the log record it's self does not line up correctly as some are prefixed with "filename.txt(1): " and some with "filename.txt(99999): ".
in order for me to quickly recognize some issues it is advantages for me to have the log records shown all line up. I have done this in the past manually adding one or many space(s) between the closing parenthetical and the colon. this is a problem however when the search results in 160000 results from eight to twelve files.
is there an easy way to align the text of a data file or the search results by inserting a variable number of spaces?
thanks very much.