Author Topic: Bug in Auto Complete with 'for'  (Read 1759 times)

zash

  • Guest
Bug in Auto Complete with 'for'
« on: July 02, 2009, 05:46:04 PM »
typing 'for' (without quotation marks) enables autocomplete giving this result:

for ($i = 0; i < ; $i++)

instead of the expected

for ($i = 0; $i < ; $i++)

(the sedond $i has the dollar sign missing)

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2222
  • Karma: +37/-3
    • HippoEDIT
Re: Bug in Auto Complete with 'for'
« Reply #1 on: July 02, 2009, 06:19:13 PM »
Hello zash,

welcome.

I think you are talking about default templates for PHP...
Yes, you are right. I would update defaults and library file.
You can change this by yourself in:
Tools->Options->Syntax Settings->PHP->Code Templates-> for and change Code for it.

Best regards,
Alex.