You are here: PSPad forum > English discussion forum > Improve string recognition in Autohotkey sytax highlighting
Posted by: halweg | Date: 2020-10-02 08:14 | IP: IP Logged
Hi!
I like to highlight my Autohotkey scripts and basically it works fine.
So Strings in "..." will be recognized as Strings and shown in a special color.
I know that there's a setting "User Highlighter" to change this behavior.
Is there a way not to stop a string highlight when `n or `r or similar signs appear inside the string?
Greetings and Thanks in advance,
Halweg
Posted by: pspad | Date: 2020-10-02 10:30 | IP: IP Logged
Hello
Tested:
"some string"
"some another `n or `r string"
Both cases was highlighted as string
Posted by: halweg | Date: 2020-10-02 12:20 | IP: IP Logged
Posted by: pspad | Date: 2020-10-02 12:27 | IP: IP Logged
Download current PSpad build from developer forum. From your user highlighter settings I see you use some old version.
You can backup your PSpad folder and return it back anytime.
Posted by: halweg | Date: 2020-10-02 12:54 | IP: IP Logged
Thanks.
I've version 5.03 (377) 32bit
I've adapted syntax and other ini files that may be need to renewed when installing updates. So installing a new version of PSPad is something that may cost a lot of time to me. I usually do it once in 5 years.
In the developer forum I found a pspad504b527x64.zip file what seems to be a portable 64bit installation. Without Autohotkey.ini and most other of the syntax-files.
What I need is an update from 32 bit to 64 bit version with system are not included.
So I'm not sure how to do a proper replacement from my version with autohotkey.ini and other settings to the 64 bit version. What about the system integration of PSPad?
Posted by: pspad | Date: 2020-10-02 13:28 | IP: IP Logged
Download 32b version, not 64b verzion zip.
Backup your pspad folder, replace files.
Ypur config will be preserved.
You can put your backup back in any problem
Posted by: halweg | Date: 2020-10-02 16:04 | IP: IP Logged
Thanks a lot for your instructions.
I just downloaded the zip (32 bit), merged the content to the existing PSPad directory and voila: all works fine including the string highlighting. Even key mapping preserved.
This helps!
Best Regards, Halweg
Editor PSPad - freeware editor, © 2001 - 2025 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR