You are here: PSPad forum > English discussion forum > 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 :");}
Posted by: pythonui | Date: 2015-05-22 05:05 | IP: IP Logged
Yeah! Thats Great!
P.S : For right+left mouse click
Edited 1 time(s). Last edit at 2015-05-22 05:05 by pythonui.
Posted by: pythonui | Date: 2015-05-22 05:08 | IP: IP Logged
Yeah! Thats Great!
P.S : For give me the perfect solution!
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