Menu

Fixing Bizarre Loss of Indent in 5.1

kismert
2008-11-11
2012-11-13
  • kismert

    kismert - 2008-11-11

    Hello, all:

    I was editing PHP files in 5.1, and observed that the editor lost the indent when I entered the "{" or ":" characters. I tabbed in carefully, but the editor removed some or all of the tabs when I tried to enter a function, or use a static method or variable.

    Needless to say, this behavior was quite annoying!

    The culprit is a new plugin called NppAutoIndent. To turn it off, go to Plugins -> NppAutoIndent, and select Auto Indent Off.

    I am now a happy NotePad++ user again.

    -Ken

     
    • kismert

      kismert - 2008-11-12

      When I update to the new 5.1.1 version, I'll give NppAutoIndent another try.

       
    • Harry

      Harry - 2008-11-12

      In 5.1 AutoIndent is pretty bugged, but in 5.1.1 it should mostly be fixed, so if you like you can try that, but turning it off works just as well if you dont need it :)