You are here: PSPad forum > English discussion forum > Log line

Log line

Goto Page: Previous1 2

#11 Re: Log line

Posted by: pspad | Date: 2015-05-22 05:05 | IP: IP Logged

I took your PSPad ToDo script.

I modified print(data) function - on the end is log parser expression for this script

Quote:
function print(data) {
var lines = new Array();
var line = "";
var c = 0;
logClear(); // clearing log window
lines = data.split('\n');
for (var x in lines) {
if(lines[x]) {
c++;
line = lines[x];
} else {
line = "\n";
}
logAddLine(line); // printing the result to the log
}
logSetParser("%l : %d%f :");

}

Options: Reply | Quote | Up ^


#12 Re: Log line

Posted by: pythonui | Date: 2015-05-22 05:05 | IP: IP Logged

Yeah! Thats Great! smiling smiley

P.S : For right+left mouse click

Edited 1 time(s). Last edit at 2015-05-22 05:05 by pythonui.

Options: Reply | Quote | Up ^


#13 Re: Log line

Posted by: pythonui | Date: 2015-05-22 05:08 | IP: IP Logged

Yeah! Thats Great!

P.S : For give me the perfect solution!smiling smileysmiling smileysmiling smileysmiling smiley

Options: Reply | Quote | Up ^


Goto Page: Previous1 2





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