• Login
Community
  • Login

Hex sequence bug?

Scheduled Pinned Locked Moved General Discussion
3 Posts 3 Posters 2.2k 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.
  • A
    Alessio Spleen Castello
    last edited by Jul 8, 2017, 2:15 PM

    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

    C 1 Reply Last reply Jul 8, 2017, 9:28 PM Reply Quote 0
    • C
      Claudia Frank @Alessio Spleen Castello
      last edited by Jul 8, 2017, 9:28 PM

      @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
      • G
        guy038
        last edited by guy038 Jul 9, 2017, 6:21 PM Jul 9, 2017, 6:14 PM

        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
        1 out of 3
        • First post
          1/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors