PHP file loads in HTML lexer

Post Reply
Roberto
Posts: 5
Joined: 14.08.2017 19:38

PHP file loads in HTML lexer

Post by Roberto »

I downloaded the latest version of cuda text 1.43.0.2 and in my php project, the cuda after informing and saving that the index.php file is therefore format other than html. When I close the project and reopen, cuda text insists on handling file index.php
as an HTML file, including showing it in the taskbar. I've saved it again but the editor does not understand. Should I be missing out on setting up, what would it be?
The list displayed in new from template file does not show PHP type. How do I solve this?
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

In the LexerProps dialog you can see that HTML lexer is for types-
htm html htt hta htx htc htd shtml phtml xhtml asp aspx ascx asmx jsp hhc dtd php php3 php4 php5 php7 phps phpt

PHP files opened in HTML lexer. it is Ok. PHP parts must be hilited in files.
"New - From template" also has "HTML - php with html.php".
Post Reply