Author Topic: Beautify while typing jumps over lambda closing curly bracket  (Read 138 times)

guth

  • Community Member
  • Posts: 79
  • Hero Points: 7
Place cursor after else and insert a curly bracket. The opposing bracket is inserted after the closing bracket of the lambda.
Code: [Select]
int main()
{
auto l = [](){
if (1 > 2)
{

}
else

};
}

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1025
  • Hero Points: 86
Re: Beautify while typing jumps over lambda closing curly bracket
« Reply #1 on: March 07, 2019, 06:36:14 pm »
Looks like a bug in the quick brace/unbrace setting.  If it's really driving you crazy, you can turn that off in Options -> Languages -> C/C++ -> Auto Close until there's a fix. 

I'll take a look at it.  It will be hot-fixable.