You are here: PSPad forum > Bug report / Hlášení chyb > highlighter for long assembler files
Posted by: lintronics | Date: 2026-07-31 04:40 | IP: IP Logged
On Z80 assembler files bigger than 20000 lines the highlighter shows for a very short time the color. I have to select the highlighter manually then it is ok. An assembler file with 17000 lines comes immediately with the colored words. Is that OK?
Posted by: pspad | Date: 2026-07-31 05:33 | IP: IP Logged
Hello
There is a limit for highlighting bigger files
Go to the Program settings / DirectEdit button
find line HlOnUpToSize=xxxx
Change value to 500000 and save
Edited 1 time(s). Last edit at 2026-07-31 05:36 by pspad.
Posted by: lintronics | Date: 2026-07-31 05:46 | IP: IP Logged
Hi, thanks for the answer. On my settings is HLOnUpToSize=750000.
Posted by: pspad | Date: 2026-07-31 07:27 | IP: IP Logged
When you open the file, on the status line is the correct Z80 highlighter?
HLOnUpToSize=number of bytes.
How big is your file? Try to set there 1 million (1000000)
Edited 1 time(s). Last edit at 2026-07-31 07:28 by pspad.
Posted by: lintronics | Date: 2026-07-31 13:39 | IP: IP Logged
my assembler file is 2.4 MB so I changed it to 3000000 and now it is working fine.
Thanks!
Editor PSPad - freeware editor, © 2001 - 2026 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR