Author Topic: PHP-doc but opens Config and Tools for HTML  (Read 2491 times)

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
PHP-doc but opens Config and Tools for HTML
« on: February 24, 2011, 11:22:31 AM »
Just FYI

I open an PHP file.
The extension is php
The syntax is set to PHP as long as i am in an php section

But menu "Tools > Manage Tools" and "Tools > Syntax settings" are set to HTML instead of PHP

HE 1.49.792
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2222
  • Karma: +37/-3
    • HippoEDIT
Re: PHP-doc but opens Config and Tools for HTML
« Reply #1 on: February 25, 2011, 01:29:53 AM »
Hi Stefan,

generally it is by design... Tools and Context Help items are bound to main language of the document (in position 0:0) and do not dependent from where is a cursor. Only templates are context dependent. In case of php files, main language is still HTML.
So this mean that in HTML document if you navigate from JS art to PHP part and than to CSS part, neither tools nor Help items will not change.
I have decided in such way, because thought that changing UI (tools toolbar mostly) will be irritating, and based on this did also menus, to be consistent.

Best regards,