You are here: PSPad forum > English discussion forum > Re: Syntax highlighting sensitive to file size

Re: Syntax highlighting sensitive to file size

#1 Syntax highlighting sensitive to file size

Posted by: ejfield | Date: 08/16/2018 10:03 | IP: IP Logged

I was editing a group of Verilog source files, and some of the files did not show any syntax highlighting. I eventually worked out that it was the biggest source files that weren't being handled properly. when I reduced the file sizes, the highlighting started to work.

for reference, a typical file was 507kB, and >7600 lines. PSPAD 5.0.0 (277)

Options: Reply | Quote | Up ^


#2 Re: Syntax highlighting sensitive to file size

Posted by: Andreas | Date: 08/16/2018 10:21 | IP: IP Logged

Go to "special settings" and increase some values.
HLOnUpToSize=1000000
MultiHLOnUpToSize=1000000

Options: Reply | Quote | Up ^


#3 Re: Syntax highlighting sensitive to file size

Posted by: ejfield | Date: 08/22/2018 07:59 | IP: IP Logged

Thanks for this, that fixed it.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2018 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR