You are here: PSPad forum > English discussion forum > Re: Change escape character
Posted by: toralf | Date: 2015-04-06 18:13 | IP: IP Logged
In the User Highlighter Definition a checkbox exists to "Escape Strings"
But this seems to be bound to the escape character \ making \" a literal "
Is it possible to change the character to ` (accent)?
Or could you add an option that a different escape character could be specified for a user highlighter?
--
Ciao
toralf
Posted by: pspad | Date: 2015-04-06 18:39 | IP: IP Logged
What language uses ` as escape char?
Posted by: toralf | Date: 2015-04-06 21:52 | IP: IP Logged
AutoHotkey
--
Ciao
toralf
Posted by: Stefan | Date: 2015-04-07 17:21 | IP: IP Logged
PowerShell
Posted by: pspad | Date: 2015-04-09 05:16 | IP: IP Logged
toralf:AutoHotkey
OK, I will add possibility to define escape character into user highlighter definition.
Anyway, you can specify escape character for Autohotkey by: #EscapeChar \
This modification will be available in the next build
Posted by: toralf | Date: 2015-04-10 17:25 | IP: IP Logged
Thanks a lot in advance.
I know that I'm able to change the escape character for individual scripts, but that causes problems when sharing scripts.
Being able to specify the default escape character in the user highlighter like you want to do it is the right approach.
--
Ciao
toralf
Posted by: pspad | Date: 2015-04-10 18:48 | IP: IP Logged
toralf:Thanks a lot in advance.I know that I'm able to change the escape character for individual scripts, but that causes problems when sharing scripts.
Being able to specify the default escape character in the user highlighter like you want to do it is the right approach.
I am afraid I don't understand. You can specify escape char in user highlighter. Each user highlighter can have own escape char. This functionally is available in the last published build
Posted by: toralf | Date: 2015-04-10 20:32 | IP: IP Logged
Ok, now I'm confused too....
Yesterday you wrote you will add it to future release.
I'll see what the current is capable off and provide feedback.
--
Ciao
toralf
Posted by: pspad | Date: 2015-04-10 20:47 | IP: IP Logged
toralf:Ok, now I'm confused too....
Yesterday you wrote you will add it to future release.
I'll see what the current is capable off and provide feedback.
I am very sorry. I though I already published build with user defined escape char in user highlighter, but I didn't it. It's my fault.
It will be in the next build.
Posted by: toralf | Date: 2015-04-11 00:45 | IP: IP Logged
Thanks a lot and no problem. I appreciate your help and enjoy PSPad a lot.
--
Ciao
toralf
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