#42 dumb auto indent



Geany-0.9 supports two auto indent modes:

-- no auto indent
-- smart auto indent

I'd like to suggest adding a new mode:

-- dumb auto indent: when Enter is pressed, the number of spaces added to the new line will be equal (i.e. no more, no less) to the number of indenting spaces in the current line. Also, the number of spaces in a line is not changed automatically, i.e. when the user inserts `}', the editor just inserts that character, without changing the number of spaces.

Rationale: When smart auto indent is on, I always have to watch the screen carefully at every keypress, and check whether the editor has changed the indentation of the line against my will. This is so annoying that I turn smart auto indent off whenever possible. But in no auto indent mode, it is tedious to add those spaces by hand.


  • Enrico Tröger

    Enrico Tröger - 2007-03-08

    Logged In: YES
    Originator: NO

    Added in SVN r1373.

  • Enrico Tröger

    Enrico Tröger - 2007-03-08
    • assigned_to: nobody --> eht16
    • status: open --> closed

Log in to post a comment.