You are here: PSPad forum > Bug report / Hlášení chyb > Re: Syntax highlight not working on big files

Re: Syntax highlight not working on big files

#1 Syntax highlight not working on big files

Posted by: TheRG | Date: 2014-09-03 12:57 | IP: IP Logged

Hi,

The syntax highlighter seems to have troubles with source files that exceed a certain number of lines (between 10.000 and 20.000 lines). Nothing is highlighted when the file is too big.

Yes, I know it is a bad practice to have such a long source files, but there is no easy way to get rid of them.

I am using the latest version (4.5.8, build 2500).

Options: Reply | Quote | Up ^


#2 Re: Syntax highlight not working on big files

Posted by: Stefan | Date: 2014-09-03 13:17 | IP: IP Logged

 
Please see if that will help you:

 

"Settings\Program Settings... " > [Direct edit] button

HLOnUpToSize=
MultiHLUpToSize=

 
More at forum.pspad.com

 

 

--
Stefan (pleased user since 1722)
Do you know you can spend Jan a beer? (click here)
Inofficial FAQs + Infos + Special Settings

Options: Reply | Quote | Up ^


#3 Re: Syntax highlight not working on big files

Posted by: pspad | Date: 2014-09-03 14:10 | IP: IP Logged

This will surely help. Tve value is maximal file size of bytes when highlighter is on. Set e.g. one milion bytes.

Options: Reply | Quote | Up ^


#4 Re: Syntax highlight not working on big files

Posted by: TheRG | Date: 2014-09-03 19:03 | IP: IP Logged

Yes, it works nicely. Thank you both for your answers.

Options: Reply | Quote | Up ^






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