Skip to content

EchoFile gets some updates

Compare
Choose a tag to compare
@demonnic demonnic released this 06 Feb 06:31

Offer unfiltered options

Splits filtered and unfiltered echoFiles into two sets of functions, echofile.echoFile and echofile.echoFilef, where the function with the f at the end is filtered through echofile.f before being echoed.

I did this rather than adding a third option in order to be able to maintain the pattern used in other echo functions of echoFile([window,] text).

Also trying to add another optional argument to a function with a leading optional argument in lua is folly I'd prefer not to engage in, thank you all the same.

The Future!

There will be a 2.0 release soon. Of Note

  • the mdk mpackage directory will change from "MDK-1" to just "MDK" (overdue, but I promised not to change it for a while the last time I did)
  • All filenames will be lowercase. ftext.lua, textgauge.lua, emco.lua, etc
  • I am not going to change the name of any functions or EXCEPT
    • fText, TextFormatter, and TableMaker will all be inside the single fText module
      • local textFormatter = require("MDK.textformatter") will change to
      • local ftext = require("MDK.ftext") and TextFormatter will be at ftext.TextFormatter