You are here: PSPad forum > English discussion forum > AutoIt3 Highlighter Error with mixed quotes

AutoIt3 Highlighter Error with mixed quotes

#1 AutoIt3 Highlighter Error with mixed quotes

Posted by: Professor Bernd | Date: 2020-05-13 06:53 | IP: IP Logged

If single and double quotation marks are used, there is a bug in the highlighter.

image

Options: Reply | Quote | Up ^


#2 Re: AutoIt3 Highlighter Error with mixed quotes

Posted by: Professor Bernd | Date: 2020-05-15 14:57 | IP: IP Logged

Is there a setting I can use to fix the problem?

Options: Reply | Quote | Up ^


#3 Re: AutoIt3 Highlighter Error with mixed quotes

Posted by: pspad | Date: 2020-05-15 15:10 | IP: IP Logged

Does autoit uses both double quotes and apostrophes for strings?

Options: Reply | Quote | Up ^


#4 Re: AutoIt3 Highlighter Error with mixed quotes

Posted by: Professor Bernd | Date: 2020-05-15 15:34 | IP: IP Logged

AutoIt uses single quotes and double quotes for strings. Very useful to use the respective other quote in code without escaping it.

Example

image

Also very useful for functions like In the screenshot in the first post.

Edited 1 time(s). Last edit at 2020-05-15 15:38 by Professor Bernd.

Options: Reply | Quote | Up ^


#5 Re: AutoIt3 Highlighter Error with mixed quotes

Posted by: pspad | Date: 2020-05-15 15:38 | IP: IP Logged

OK. I must take a look where is problem in code in handling both string styles together.

Options: Reply | Quote | Up ^


#6 Re: AutoIt3 Highlighter Error with mixed quotes

Posted by: Professor Bernd | Date: 2020-05-15 15:41 | IP: IP Logged

Thanks.

Options: Reply | Quote | Up ^


#7 Re: AutoIt3 Highlighter Error with mixed quotes

Posted by: pspad | Date: 2020-05-15 15:54 | IP: IP Logged

Fixed

Options: Reply | Quote | Up ^


#8 Re: AutoIt3 Highlighter Error with mixed quotes

Posted by: Professor Bernd | Date: 2020-05-16 18:19 | IP: IP Logged

Wow, very good work! smiling smiley

Options: Reply | Quote | Up ^






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