Package foundry.veil.api.client.imgui
Interface CodeEditor.SaveCallback
- Enclosing class:
CodeEditor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback for when editor is saved.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsave(String source, CodeEditor.ErrorConsumer errors) Fired when the editor contents are saved.
-
Method Details
-
save
Fired when the editor contents are saved.- Parameters:
source- The new source codeerrors- The error consumer
-