• Login
Community
  • Login

Make every line have a number

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 2.0k 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.
  • 5
    5Fretless
    last edited by Apr 23, 2017, 11:29 AM

    When I copy text (from a webpage, for instance) and paste it in a Notepad++ .txt file, not all lines have numbers. Here’s an example:

    https://s15.postimg.org/tu1clux63/txt.jpg

    Can I set Notepad++ to ALWAYS show line numbers regardless of the formatting of the text I pasted?

    S 1 Reply Last reply Apr 23, 2017, 12:02 PM Reply Quote 0
    • S
      Scott Sumner @5Fretless
      last edited by Apr 23, 2017, 12:02 PM

      @5Fretless

      I assume you have “Wrap” enabled. On the View menu it can be turned off.

      1 Reply Last reply Reply Quote 0
      • 5
        5Fretless
        last edited by Apr 23, 2017, 3:16 PM

        Yes, but that disables… well, word wrapping and you have to scroll right to see everything. It just doesn’t work.

        C 1 Reply Last reply Apr 23, 2017, 4:12 PM Reply Quote 0
        • C
          Claudia Frank @5Fretless
          last edited by Apr 23, 2017, 4:12 PM

          @5Fretless said:

          Yes, but that disables… well, word wrapping and you have to scroll right to see everything. It just doesn’t work.

          Well, it does work - maybe not how you want it to behave but how it was supposed to do it.

          If you want to have different line numbers shown for a single line while having word wrap enabled
          I don’t see how this can be achieved without modifying the text.

          Cheers
          Claudia

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