Problems with line number margin

GVC
2008-01-08
2012-11-13
  • GVC
    GVC
    2008-01-08

    Hi,

    Using NPP 4.6 on a WinXP Pro machine, I'm having problems with the line number margin.  Each time I'm starting NPP, the line number margin is "narrowed".  The image below shows what happens:

    [URL=http://imageshack.us][IMG]http://img111.imageshack.us/img111/2874/linemargintoonarrowry5.png[/IMG][/URL]

    When I toggle the option "Display line number margin" (which is ticked by default) in the Preferences dialogue box, the status is corrected again until the next time I'm starting NPP.  The image below is showing the status after toggling the above mentioned option:

    [URL=http://imageshack.us][IMG]http://img246.imageshack.us/img246/1223/linemarginoksc7.png[/IMG][/URL]

    Anyone else ha(d)(s) the same problem?

    Best rgds,

    --Geert

     
    • nicyk
      nicyk
      2008-05-31

      yes, i also have.

      usually by kicking the button of font size zooming the problem can be solved temporarily.

       
    • GVC
      GVC
      2008-01-08

      Hi,

      I now see I should have used other links to refer to the images. Sorry for that... (disadvantage of not having a "preview" option???).

      Pls. refer to the following images.

      When line margins are not OK:

      http://img111.imageshack.us/img111/2874/linemargintoonarrowry5.png

      When line margins are OK:

      http://img246.imageshack.us/img246/1223/linemarginoksc7.png

      Hope this works fine now.

      Best rgds,

      --Geert

       
      • Trpplayer79
        Trpplayer79
        2008-01-08

        I don't have this problem with version 4.7.3.
        maybe upgrade to this version would solve your problem.

        greetz

        Trpplayer79

         
        • GVC
          GVC
          2008-01-08

          Hi,

          Indeed, just upgraded to 4.7.3 and so far, the problem is not present any more.

          In case it pops up again, I'll notify it here.

          Until then, don't spend/waste time on this subject any more.

          Best rgds,

          --Geert

           
          • GVC
            GVC
            2008-01-14

            Have to pick up this one again.

            NPP 4.7.3

            This time, I have a file of 10000+ lines, and the number margin only shows 4 digits.

            I have to un-tick and tick the "Display line number margin" before it shows the line numbers correctly (5 digits, in this particular example).

            I remember in CodeWright there was an option where the user could define how many digits he wanted to see in the line number margin.

            Would this be a good idea to add it to NPP too?

            Best rgds,

            --Geert

             
            • Matt Mills
              Matt Mills
              2008-05-30

              I am having this problem on v4.9.2. The line number margin is not wide enough for 4-digit (or greater) line numbers unless I toggle the margin off and back on again. The images posted by the OP reflect the behaviour I am experiencing.

              Is this a known problem?