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

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
PHP-doc but opens Config and Tools for HTML
« on: February 24, 2011, 11:22:31 am »
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!-

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2183
  • Karma: +37/-3
    • View Profile
    • 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,
Alex.

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1559 Views
Last post April 05, 2009, 12:20:27 am
by alex
3 Replies
1497 Views
Last post April 21, 2009, 05:24:37 pm
by alex
1 Replies
1656 Views
Last post May 03, 2009, 04:46:00 pm
by alex
3 Replies
3773 Views
Last post September 06, 2012, 11:52:32 pm
by alex
2 Replies
1778 Views
Last post February 04, 2017, 07:30:59 am
by HippoKondriaq