Author Topic: SlickEdit 25.0.1 C++ initializer list indents  (Read 68 times)


  • Senior Community Member
  • Posts: 228
  • Hero Points: 11
SlickEdit 25.0.1 C++ initializer list indents
« on: April 08, 2021, 08:41:08 pm »
When I try to type initializers for a C++ class, SlickEdit keeps trying to indent the list when I don't want it. The first initializer is indented 3 spaces (my normal indent) and subsequent initializers are indented 2 more spaces. (Not sure where 2 comes from -- continuation indent is also 3.) SE 24 doesn't do this. I searched for a Formatting option to control this, but couldn't find one. Is there one that I missed?

FYI, this is what my preferred formatting is:
Code: [Select]
: member1(0)
, member2(1)


  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1470
  • Hero Points: 131
Re: SlickEdit 25.0.1 C++ initializer list indents
« Reply #1 on: April 09, 2021, 01:32:09 pm »
It looks like this was changed when some initializer list settings were added.  It does need a new setting to go back to the old indent behavior.  I'll take a closer look this afternoon.  I suspect it's not hot-fixable, but I should be able to to put it in for 25.0.2.