HippoEDIT forum

General Category => Feature requests and suggestions => Topic started by: corteo on September 06, 2015, 08:59:07 PM

Title: New tag <current ident> for code complete
Post by: corteo on September 06, 2015, 08:59:07 PM
Hello,

I have one issue with HE that I cannot fix. When I press { and then Enter then cursor is placed in a wrong column.
[attach=1]
Is it possible to setup HE to calculate new indentation basing on current indentation?
My code template for { is:
Code: [Select]
{
%|%
}
I also have "Smart Tab" and Auto-Indent" options enabled.
Title: Re: New tag <current ident> for code complete
Post by: alex on September 08, 2015, 01:35:20 AM
Hi corteo,

welcome on forum.

I would say, this is a bug. Based on configuration you have (also "Format on Paste" plays role in your use case) I expect that cursor position shall be on place you want.
I will try to correct this in next build, but the issue is very tricky: because there are a lot of special cases, often such "correction" leads to other bugs :)

Best regards,
Alex.