Menu

Indent with a character?

GVC
2007-03-11
2012-11-13
  • GVC

    GVC - 2007-03-11

    Hi,

    Would like to know if NotePad++ is able to indent a piece of code with a certain character.

    If I compare with Codewright, there it's possible to select a block of text and then say which character(s) should be used to indent the block of text.

    Very handy if you want to comment out a piece of text.

    Best rgds,

    --Geert

     
    • pshute

      pshute - 2007-03-12

      If you select some text and press Tab, it will insert a tab before every line.  Not sure what you can do if you don't want to use a tab. Shift-Tab to unindent.

       
    • pshute

      pshute - 2007-03-12

      You can also use Plugins/TextFX Edit/Insert (clipboard) through lines.

       
    • Nobody/Anonymous

      Geert, if you want to comment/uncomment a block, there's a menuitem under the Edit menu that does that for you if the language type has "comment line" defined for it.  --Joel