Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20203

    Skeeve
    Participant

    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,
    Marcus

    #20204

    Yutaka Emura
    Keymaster

    Hello,

    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!

    #20205

    Skeeve
    Participant

    Hi Yutaka,

    Awesome, this is exactly what I need:)
    Many thanks for the info.

    Kind regards,
    Marcus

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Share with friends... Tweet about this on TwitterShare on FacebookShare on Google+Email this to someone