JSONFileEditor

fun JSONFileEditor(    workbench: AvailWorkbench,     filePath: String,     frameTitle: String,     autoSave: Boolean = false,     afterTextLoaded: (JSONFileEditor) -> Unit = {})

Construct an JSONFileEditor.

Parameters

workbench

The owning AvailWorkbench.

filePath

The path to the file.

frameTitle

The window title.

autoSave

Whether to auto save the backing file to disk after changes.

afterTextLoaded

Action to perform after text has been loaded to sourcePane.