script-formatter module

getScriptPane ( { ( File | URL | String ) script } )

import javax.swing.*
f = JFrame()
f.setSize(400, 400)
sp = getScriptPane()
f.contentPane.add(JScrollPane(sp))
sp.text = readText(getFile("test.pnut"))
sp.document.updateHighlight()
f.show()
indentScript ( String script )

println(indentScript(readText("test.pnut")))