• Login
Community
  • Login

Bug: Vertical Edge Settings > Number of columns is off by one

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
vertical edgecolumns
9 Posts 8 Posters 4.9k 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.
  • R
    rcpao-enmotus
    last edited by Jan 9, 2017, 6:05 PM

    Settings > Preferences > Editing > Vertical Edge Settings > Number of columns: 80

    Find/type a line longer than 80 columns.

    Move the blinking cursor to Col: 80 as indicated in the Status line at the bottom of Notepad++.

    The Vertical Edge Line is one column to the right of the cursor at Col: 80. I expected the Vertical Edge Line to be with the blinking cursor.

    npp.7.3.Installer.exe

    S C 2 Replies Last reply Jan 9, 2017, 6:22 PM Reply Quote 0
    • S
      Scott Sumner @rcpao-enmotus
      last edited by Jan 9, 2017, 6:22 PM

      @rcpao-enmotus

      Well, I guess it is open to interpretation, but for me I’d say there is no bug. I have mine set to 80 and if I form a selection (starting from the left edge of the window) so that the grey (selection) highlighting just touches the vertical edge line, I have 80 characters in my selection. This is what I expect.

      1 Reply Last reply Reply Quote 2
      • C
        Claudia Frank @rcpao-enmotus
        last edited by Jan 9, 2017, 6:36 PM

        @rcpao-enmotus

        visual confirmation of Scotts argument

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 1
        • R
          rcpao
          last edited by Jan 12, 2017, 4:34 PM

          Okay. It is not a bug.

          Vertical Edge Settings dialog box is “Number of columns : 79” instead of “Vertical edge column: 80” so I would have to input 79 instead of 80. I expected them to all be visibly at the same location: the vertical edge line, the cursor location, and the Status bar’s “Col: 80” at the bottom. I was also expecting word wrap to happen at the vertical edge, but it actually happens at the right edge of the edit window. It’s not a big deal. It’s still a great editor.

          C 1 Reply Last reply Jan 12, 2017, 4:39 PM Reply Quote 0
          • C
            Claudia Frank @rcpao
            last edited by Jan 12, 2017, 4:39 PM

            @rcpao

            no, you still have to set 80 if you want to add 80 chars into a line.
            The reason why it shows 81 in statusbar is that cursor has already past column 80.
            The edge cannot be at column 80 as it needs to allow upto 80 chars it is needed to,
            visually, set it to 81.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 2
            • H
              Haleen John
              last edited by Haleen John Jan 16, 2017, 7:53 AM Jan 16, 2017, 7:52 AM

              This post is deleted!
              1 Reply Last reply Reply Quote -1
              • N
                Neena Thomas
                last edited by Jan 31, 2017, 9:48 AM

                This post is deleted!
                1 Reply Last reply Reply Quote -1
                • P
                  Pritika Srivastav Banned
                  last edited by Jun 22, 2017, 11:30 AM

                  This post is deleted!
                  1 Reply Last reply Reply Quote -1
                  • G
                    Grace Ben
                    last edited by Jul 31, 2017, 7:32 AM

                    Informative blog with good useful information.

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