You are here: PSPad forum > English discussion forum > Re: Colorize the log window (Type Memo)

Re: Colorize the log window (Type Memo)

#1 Colorize the log window (Type Memo)

Posted by: Professor Bernd | Date: 2020-05-20 19:12 | IP: IP Logged

For compiling you can set the type of log win to Memo. The memo is a RichEdit. Is there a way to color the lines of the RichEdit differently?

Options: Reply | Quote | Up ^


#2 Re: Colorize the log window (Type Memo)

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

Memo isn't RichEdit, memo is plaintext memo.

Options: Reply | Quote | Up ^


#3 Re: Colorize the log window (Type Memo)

Posted by: Professor Bernd | Date: 2020-05-20 19:38 | IP: IP Logged

Too bad. But thanks for the answer!

Options: Reply | Quote | Up ^


#4 Re: Colorize the log window (Type Memo)

Posted by: pspad | Date: 2020-05-20 19:39 | IP: IP Logged

What do you want to colorize?

Options: Reply | Quote | Up ^


#5 Re: Colorize the log window (Type Memo)

Posted by: Professor Bernd | Date: 2020-05-20 19:53 | IP: IP Logged

At the beginning of a line you can write different characters (always 1 character per line), then the line is shown in a certain color (e.g. "!" = red, "+" = blue). Depending on the importance of a line, the line can be shown in the corresponding color.

image

Edited 4 time(s). Last edit at 2020-05-20 20:02 by Professor Bernd.

Options: Reply | Quote | Up ^


#6 Re: Colorize the log window (Type Memo)

Posted by: Professor Bernd | Date: 2020-05-21 03:37 | IP: IP Logged

Maybe you could add a RichEdit, including log parser (or replace the memo)? In VBScript "logSetTypeRiEd", "logSetLineColor(Color)", "logSetLineBKColor(Color)", ...

Log parser photomontage
image

This is NOT an important feature. If it is too much work, put it at the bottom of your todo list. winking smiley

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