GenericFileEditor

fun GenericFileEditor(    workbench: AvailWorkbench,     fileLocation: String,     autoSave: Boolean = false,     afterTextLoaded: (GenericFileEditor) -> Unit = {})

Construct an GenericFileEditor.

Parameters

workbench

The owning AvailWorkbench.

fileLocation

The absolute path of the source code file.

autoSave

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

afterTextLoaded

Action to perform after text has been loaded to sourcePane.