You are here: PSPad forum > Bug report / Hlášení chyb > Escape Character Causes bracket matching Error in Visual LISP syntax

Escape Character Causes bracket matching Error in Visual LISP syntax

#1 Escape Character Causes bracket matching Error in Visual LISP syntax

Posted by: pkenewell | Date: 2020-10-20 20:10 | IP: IP Logged

Hi,

Reporting a bug. The reverse quote (`) escape character is acting like the ending quote on a string and causing the matching bracket highlight to be incorrect. I am using the Visual LISP syntax file, but I don't know whether this bug is present with other code formats. This escape character from what I know should not be treated as a string in any code. Could you please look into this.

Thanks!

Edited 1 time(s). Last edit at 2020-10-20 20:12 by pkenewell.

Options: Reply | Quote | Up ^


#2 Re: Escape Character Causes bracket matching Error in Visual LISP syntax

Posted by: pkenewell | Date: 2020-10-20 20:41 | IP: IP Logged

P.S. I am using pspad version 5.0.3

Options: Reply | Quote | Up ^


#3 Re: Escape Character Causes bracket matching Error in Visual LISP syntax

Posted by: pspad | Date: 2020-10-20 23:06 | IP: IP Logged

Plrase write some Lisp code example.

Can you confirm it with current 5.0.4 build? I made lot of fixes there

Edited 1 time(s). Last edit at 2020-10-20 23:10 by pspad.

Options: Reply | Quote | Up ^


#4 Re: Escape Character Causes bracket matching Error in Visual LISP syntax

Posted by: pkenewell | Date: 2020-10-21 20:46 | IP: IP Logged

Here is a simple piece of code that will fail bracket matching

(wcmatch (strcase tx5) "*`.DGN")

The "`" character causes it.

I haven't tried 5.0.4 yet. I will give it a try and let you know.

Edited 1 time(s). Last edit at 2020-10-21 20:47 by pkenewell.

Options: Reply | Quote | Up ^


#5 Re: Escape Character Causes bracket matching Error in Visual LISP syntax

Posted by: pkenewell | Date: 2020-10-21 20:53 | IP: IP Logged

pspad:
Plrase write some Lisp code example.

Can you confirm it with current 5.0.4 build? I made lot of fixes there

The 5.0.4 build of PSPad fixes the problem! Thanks!

Options: Reply | Quote | Up ^






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