Community
    • Login

    Hex sequence bug?

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Alessio Spleen CastelloA
      Alessio Spleen Castello
      last edited by

      Hi guys,
      I need to substitute the last 4 chars of several lines of text with an hexadecimal sequence starting from 000D.
      So I select (alt+selection) the last 4 chars of every line, I press alt+c for the column editor, but when I’ going to insert the initial number it tells me that it accepts only numbers.

      here’s the error

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Alessio Spleen Castello
        last edited by

        @Alessio-Spleen-Castello

        yes, use the decimal representation in initial number, as you know, a=10.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • guy038G
          guy038
          last edited by guy038

          Hello, @alessio-spleen-castello,

          Ah, yes ! You need to type in the initial number, in a decimal form, although counting will be, correctly, generated, with hexadecimal numbers !

          For instance, if your numbers sequence have to begin with the hex number 1CE, you must write the decimal form of 1CE, that is to say the number 462, as the Initial number field of the Column / Multi selection Editor

          Then, choose the Hex format and, possibly, check , or not, the Leading zeros option and click on the OK button !

          Cheers,

          guy038

          P.S. : Hexadecimal number 1CE = 1 * 16^2 + 12 * 16^1 + 14 * 16^0 = 256 + 192 + 14 = 462

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors