Author Topic: ToolsProperties: 'Current Line Number' count one less  (Read 2490 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: 2172
  • 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
9 Replies
3775 Views
Last post August 23, 2011, 02:29:47 pm
by alex
1 Replies
2026 Views
Last post October 21, 2010, 02:22:24 pm
by alex
1 Replies
1317 Views
Last post June 10, 2011, 09:40:11 pm
by alex
0 Replies
1337 Views
Last post January 03, 2013, 01:13:11 am
by alex
1 Replies
876 Views
Last post September 08, 2015, 12:35:20 am
by alex