How can I indent the wrapped text in Notepad++?

10,288

In Settings → Preferences... → Editing set the Line Wrap option to Indent.

Share:
10,288

Related videos on Youtube

mythealias
Author by

mythealias

Updated on September 18, 2022

Comments

  • mythealias
    mythealias almost 2 years

    How can I change Notepad++ setting so that wrapped lines gets indented automatically?

    Right now I have something like this:

    some text that wraps to
    next line
        some indented text 
    that also wraps
    

    What I want to get is:

    some text that wraps to
    next line
        some indented text 
        that also wraps
    
    • Admin
      Admin about 8 years
      I just wanted to do exactly opposite. So Line Wrap option to default worked well for me.
  • Ansgar Wiechers
    Ansgar Wiechers over 11 years
    That will auto-indent new lines, but it will not indent wrapped lines.
  • mythealias
    mythealias over 11 years
    This worked. I was using older version, so did not have the setting available.
  • Rabarberski
    Rabarberski over 11 years
    Strange, I have to use the Line Wrap setting Aligned to get what is shown in the original question. If I use Indent, the wrapped line is indented 1 step further (to indicate that it is a wrapped line, I assume)
  • matsr
    matsr almost 11 years
    For this to work, remember to enable Word wrap from the menu: View->Word wrap
  • Desik
    Desik over 8 years
    The amount of indentation may be further customized: docs.notepad-plus-plus.org/index.php/Managing_Line_Lengths