You are here: PSPad forum > English discussion forum > Re: bookmarks in log win

Re: bookmarks in log win

#1 bookmarks in log win

Posted by: Professor Bernd | Date: 2019-11-03 20:13 | IP: IP Logged

Hello.

Is there a way to set bookmarks with other colors in Log-Win?

image

Lines with "warning" get a yellow bookmark.
Lines with "error" get a red bookmark.

Are there any other code words?

Options: Reply | Quote | Up ^


#2 Re: bookmarks in log win

Posted by: pspad | Date: 2019-11-04 07:47 | IP: IP Logged

Hello

There are not real bookmars, only visualization of warning and error.

Options: Reply | Quote | Up ^


#3 Re: bookmarks in log win

Posted by: Professor Bernd | Date: 2019-11-04 16:03 | IP: IP Logged

Hi Jan.

Are there any other code words besides warning and error?

I would like to add debugging messages to the log as in the following example and then mark the line with a different color. smiling smiley

Quote:
@@ Debug(14) : $sTest = This is a debug test.

Code word for recognition: @@ Debug

This is not an important thing, but a "nice to have" after your important user requests. winking smiley

Regards,
Bernd.

Edited 1 time(s). Last edit at 2019-11-04 16:04 by Professor Bernd.

Options: Reply | Quote | Up ^


#4 Re: bookmarks in log win

Posted by: pspad | Date: 2019-11-04 16:53 | IP: IP Logged

The icon is added when line contains "warn" and "err".
I can simple add green icon for "debug" if it will be contained

Options: Reply | Quote | Up ^


#5 Re: bookmarks in log win

Posted by: pspad | Date: 2019-11-04 17:05 | IP: IP Logged

Done. In the new build if "debug" (any case) will be contained in the log line, green icon will be painted.

Options: Reply | Quote | Up ^


#6 Re: bookmarks in log win

Posted by: Professor Bernd | Date: 2019-11-04 17:09 | IP: IP Logged

That was quick! Thank you very much! smiling smiley

Options: Reply | Quote | Up ^






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