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

Offline corteo

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
New tag <current ident> for code complete
« on: September 06, 2015, 08:59:07 PM »

I have one issue with HE that I cannot fix. When I press { and then Enter then cursor is placed in a wrong column.
Is it possible to setup HE to calculate new indentation basing on current indentation?
My code template for { is:
Code: newbielink:javascript:void(0); [nonactive]
I also have "Smart Tab" and Auto-Indent" options enabled.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2224
  • Karma: +37/-3
    • HippoEDIT
Re: New tag <current ident> for code complete
« Reply #1 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,