Author Topic: New tag <current ident> for code complete  (Read 782 times)

Offline corteo

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
New tag <current ident> for code complete
« on: September 06, 2015, 07: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.
ila_rendered
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.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2169
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: New tag <current ident> for code complete
« Reply #1 on: September 08, 2015, 12: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.

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1227 Views
Last post April 15, 2009, 03:26:19 am
by Arthur
1 Replies
1294 Views
Last post July 02, 2009, 05:19:13 pm
by alex
3 Replies
4866 Views
Last post September 15, 2010, 08:13:09 am
by kryten
9 Replies
3511 Views
Last post August 23, 2011, 02:29:47 pm
by alex
2 Replies
1908 Views
Last post August 31, 2011, 12:37:26 am
by RickF