Author Topic: B2: Staggered Java beautification  (Read 1732 times)

Marcel

  • Senior Community Member
  • Posts: 261
  • Hero Points: 26
B2: Staggered Java beautification
« on: August 29, 2018, 05:52:52 PM »
This is probably an old problem, but I just ran across it while playing with the beta.

The attached Java project contains a severely pruned and anonymized source file which, when beautified with the default settings turns into a staircase.
I saved the output file into the project as well.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1818
  • Hero Points: 151
Re: B2: Staggered Java beautification
« Reply #1 on: August 29, 2018, 06:09:34 PM »
That might be new.  I see what's happened though.  Thanks for the report.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1818
  • Hero Points: 151
Re: B2: Staggered Java beautification
« Reply #2 on: August 29, 2018, 06:45:21 PM »
This will be fixed for beta 4.  And I'm adding that particular file to the unit tests - none of existing unit test source had the right combination of method annotation and nested generics to trigger that bug.

Thanks.