How can I generate column numbers where I have made a column selection and I want each line to be numbered from 1..number_of_lines? Mark
On Feb 13, 2013, at 17:32, Mark Robinson mark@creativetags.com wrote:
How can I generate column numbers where I have made a column selection and I want each line to be numbered from 1..number_of_lines?
There is Bundles → Text → Add Lines Numbers to Document / Selection.
Though while it will work for column selections in 1.x, 2.0 presently doesnt properly column-format command output, so for 2.0 run it for a regulra seleciton then copy/paste the line numbers to the column you want them in.
On 13 Feb 2013, at 16:32, Mark Robinson mark@creativetags.com wrote:
How can I generate column numbers where I have made a column selection and I want each line to be numbered from 1..number_of_lines? Mark
Sorry for delay in replying, been busy with 'work'.
Select the lines you want numbered, 'Option + Command + r' type 'nl' as the command, check that 'input' is 'selection' and 'output' is 'replace selection' then click execute.
At a command line type 'man nl' for info on the command.
The commands 'cat -b' and 'cat -n' may also be alternatives for what you want.
I've just noticed Allan has responded, but with a different solution. So now you have a choice!