Opened 12 years ago

Closed 11 years ago

#44 closed enhancement (fixed)


Reported by: patspam Owned by:
Priority: minor Milestone:
Component: editor Version: 0.04
Keywords: Cc:


New lines should be auto-indented to the current indent level of the previous line.

This might be better tackled as part of support for auto-formatting of code (Perl::Tidy) but ideally auto-indent would be smart enough to increase indentation when the previous line contains an opening brace, decrease indentation when a pair of braces is closed, etc.. (as per vim).

Change History (1)

comment:1 Changed 11 years ago by tsee

  • Resolution set to fixed
  • Status changed from new to closed

I would say this is reasonably well implemented in Padre trunk now. Including auto-sensing and adapting to the predominant indentation style of the given document.

Note: See TracTickets for help on using tickets.