You are here: PSPad forum > English discussion forum > Re: Is it possible to highlight unclosed quotes?

Re: Is it possible to highlight unclosed quotes?

#1 Is it possible to highlight unclosed quotes?

Posted by: lostymosty | Date: 2016-02-24 12:17 | IP: IP Logged

For example.
"Blah,blah,blah" // green highlighted.
"Text text text // red highlighted

Or...
Highlight string. If it has odd numbers of quotes with red and if it has even number of quotes with green?

Options: Reply | Quote | Up ^


#2 Re: Is it possible to highlight unclosed quotes?

Posted by: pspad | Date: 2016-02-24 12:21 | IP: IP Logged

Strings are highlighted with colors you set in menu settings / highlighter settings for each highlighter.
Unclosed string highlights rest of the line as string.

Options: Reply | Quote | Up ^


#3 Re: Is it possible to highlight unclosed quotes?

Posted by: lostymosty | Date: 2016-02-24 13:46 | IP: IP Logged

Dear Pspad,
thank you for your quick answer.
I try to explain with image, what i want.

image

Is it possible to do so?

Edited 1 time(s). Last edit at 2016-02-24 13:50 by lostymosty.

Options: Reply | Quote | Up ^


#4 Re: Is it possible to highlight unclosed quotes?

Posted by: lostymosty | Date: 2016-02-24 15:00 | IP: IP Logged

I found the solution, i'll use the php-syntax. It wokrs.
But how can i set up the custom highlighter like php-highlighter?

PHP-Syntax Highlighter:
image

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