You are here: PSPad forum > English discussion forum > How can I set a color for Block Comment in the Highlighter?

How can I set a color for Block Comment in the Highlighter?

#1 How can I set a color for Block Comment in the Highlighter?

Posted by: Professor Bernd | Date: 2019-09-20 17:25 | IP: IP Logged

Hello, everyone. smiling smiley

I'm working on setting up PSPad as an IDE for AutoIt. I copied AutoIt3.ini and AutoIt3.def to the PSPad directory. The clip function and the highlighting work so far, except the highlighting for Block Comments.

My single line comment is green. How can I set up PSPad to display all lines in the comment block in green?

The block comment is created with #cs (Comment start) and #ce (Comment end). This is what it looks like:

#cs
This is a block comment
over 1 or more lines.
#ce

And this is how it's supposed to look:

#cs
This is a block comment
over 1 or more lines.
#ce

Greetings,
Bernd.

Translated with www.DeepL.com/Translatorsmiling smiley

Options: Reply | Quote | Up ^


#2 Re: How can I set a color for Block Comment in the Highlighter?

Posted by: pspad | Date: 2019-09-20 19:06 | IP: IP Logged

Hello

I am afraid you are not able to set it, cause PSPad doesn't know such block comment.
Autoit3 is provides as user highlighter definition and there is set of block highlight available. I have to add this block comment into user highlighter.

Options: Reply | Quote | Up ^


#3 Re: How can I set a color for Block Comment in the Highlighter?

Posted by: Professor Bernd | Date: 2019-09-20 21:07 | IP: IP Logged

Oh wow, my english is not so good, but did you say that you will implement the AutoIt Block Comment in the user highlighter? This is really great and I am very happy about it! smiling smiley

Options: Reply | Quote | Up ^


#4 Re: How can I set a color for Block Comment in the Highlighter?

Posted by: Professor Bernd | Date: 2020-01-15 07:03 | IP: IP Logged

Hello.

This request is not important, but I would be happy if it would perhaps move up in your to-do list. Thank you. smiling smiley

Bernd.

Options: Reply | Quote | Up ^


#5 Re: How can I set a color for Block Comment in the Highlighter?

Posted by: pspad | Date: 2020-01-15 07:23 | IP: IP Logged

I will add it

P.S.

Added into user highlighter definition as #cs .. #ce. Available will be in the next build.

Edited 1 time(s). Last edit at 2020-01-15 08:30 by pspad.

Options: Reply | Quote | Up ^


#6 Re: How can I set a color for Block Comment in the Highlighter?

Posted by: Professor Bernd | Date: 2020-01-15 09:35 | IP: IP Logged

Thanks a lot. 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