Author Topic: Formating Support for ">= 1" Blank Lines  (Read 107 times)

rgloden

  • Senior Community Member
  • Posts: 133
  • Hero Points: 3
Formating Support for ">= 1" Blank Lines
« on: April 15, 2017, 11:53:53 pm »
It would be nice if the Beautifier supported rules for specifying a range of allowable blank lines, for instance:
   1..3 Blank lines before an if statement
   0..2 Blank lines after a class declaration

SlickEdit would enforce the Min/Max while allowing users some flexibility to pretty up their code.


patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 728
  • Hero Points: 32
Re: Formating Support for ">= 1" Blank Lines
« Reply #1 on: April 18, 2017, 02:08:02 pm »
That's an interesting idea.  I can't promise I'll do it for v22, but it seems reasonable, and wouldn't require a lot of code to change or change the meaning of user's existing configurations.  Thanks for the good suggestion.