You are here: PSPad forum > Bug report / Hlášení chyb > PHP highlighter does not work automatically for large files
Posted by: PaulPic | Date: 2020-08-16 15:38 | IP: IP Logged
I think size is the key, I have 2 files with more than 1 and 2 MB on which this happens. It works fine with all other files and worked well with older versions with these as well.
It is no fatal bug, highlighting can be switched on immediately via "Change Syntax" dialog, but it annoys.
Applies to at least 504b407 and 504b517
Edited 1 time(s). Last edit at 2020-08-16 15:40 by PaulPic.
Posted by: pspad | Date: 2020-08-16 16:01 | IP: IP Logged
Hello
Open program settings / Direct edit button
Increase value of the variable HLOnUpToSize, e.g.
HLOnUpToSize=500000
It means up to 500 000 bytes highlighter will be switched on automatically
There is no cencessary to "change syntax", only press the highlight syntax button or item in the menu view
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR