Tagged: Leading zeros, numbering
- AuthorPosts
- June 22, 2015 at 9:13 am #20203SkeeveParticipant
Hi guys,
I would like to see an option to align renumbered values with leading zeros, depending on the width of the selection. I need this very often when editing data tables or constants to maintain the clarity of a file.
Example:
CUSTOM_CALL_122 = 1,
CUSTOM_CALL_002 = 2,
CUSTOM_CALL_620 = 3,Here I want ro replace the numbers 122, 002 and 620 by auto renumbering to 0, 5 and 10, but maintain the width of 3 digits, which is currently not possible in EmEditor. At the moment I switch to notepad++ for doing this operation, but this is something I want to avoid.
Thanks for reading and considering this.
Kind regards,
MarcusJune 23, 2015 at 11:00 am #20204Yutaka EmuraKeymasterHello,
You can add leading zeros in the First Line text box in the Numbering dialog box.
For example, if you want to add 001, 002, 003, …, then you would specify “001” in the First Line text box.Thanks!
June 23, 2015 at 11:06 am #20205SkeeveParticipantHi Yutaka,
Awesome, this is exactly what I need:)
Many thanks for the info.Kind regards,
Marcus - AuthorPosts
- You must be logged in to reply to this topic.