Module vLogView

Simple log display with add() and replace() methods

Functions

clear () clear all text in log
add (txt) clear text to log (strip leading, trailing whitespace)
replace (txt) replace the last line in the log
set_active (val) [[

Fields

self.text (string) all text in the log
self.autoscroll (bool) when true, scroll to bottom when adding text
self.max_lines number, purge lines when total is higher than this


Functions

clear ()
clear all text in log
add (txt)
clear text to log (strip leading, trailing whitespace)

Parameters:

  • txt (string)
replace (txt)
replace the last line in the log

Parameters:

  • txt (string)
set_active (val)
[[

Parameters:

  • val

Fields

self.text
(string) all text in the log
self.autoscroll
(bool) when true, scroll to bottom when adding text
self.max_lines
number, purge lines when total is higher than this
generated by LDoc 1.4.2