PHP-doc but opens Config and Tools for HTML

Started by Stefan, February 24, 2011, 11:22:31 AM

Previous topic - Next topic

Stefan

Impact:
Just FYI


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


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


Environment:
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!-

alex

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,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]