Recent

Author Topic: JCF Incorrect indenting for try/finally  (Read 1104 times)

DomingoGP

  • Jr. Member
  • **
  • Posts: 80
Re: JCF Incorrect indenting for try/finally
« Reply #15 on: October 27, 2024, 07:16:20 pm »
You are welcome!

award65

  • Newbie
  • Posts: 5
Re: JCF Incorrect indenting for try/finally
« Reply #16 on: October 28, 2024, 09:42:38 am »
Hi Domingo,

I've applied your patch (had to do it manually as a) I'm on Windows, and b) I'm using the current release Lazarus and not a dev version...).

After setting IndentEndTryBlockAsCode and IndentExtraOrphanTryBlocks to True, I'm now getting the results I was wanting for the formatting of try/finally etc...

Brilliant response, thanks,
Alistair.

DomingoGP

  • Jr. Member
  • **
  • Posts: 80
Re: JCF Incorrect indenting for try/finally
« Reply #17 on: October 28, 2024, 11:18:50 am »
I'm glad the patch is working for you.

Just now I made a commit in the main branch of lazarus with the changes.


Regards
Domingo

 

TinyPortal © 2005-2018