LitDev Extension API
LDEvents

Additional Events.
Error
![]() |
FileChange
![]() |
FileFilter
![]() |
FilePath
![]() |
LastError
![]() |
LastFileChanged
![]() |
LastFileChangeType
![]() |
LastMouseWheelDelta
![]() |
MouseDoubleClick
![]() |
MouseWheel
![]() |
Resized
![]() |
Error

Event when a LitDev extension error occurs.
This is in addition to TextWindow warnings, which can be turned off using LDUtilties.ShowErrors, LDUtilties.ShowFileErrors and LDUtilties.ShowNoShapeErrors.
FileChange

Event when a file is created, changed or deleted.
The FilePath and FileFilter should be set before registering this event.
FileFilter

A file filter for FileSystem file change event (default is "*.*").
FilePath

The root path to watch for FileSystem file change event (default is "C:").
LastError

The last error message.
LastFileChanged

The full path to the last file changed.
LastFileChangeType

The last file change type ("Created", "Changed" or "Deleted").
LastMouseWheelDelta

The last mouse wheel Delta (rotation direction).
MouseDoubleClick

Event when the mouse is double clicked.
MouseWheel

Event when the mouse wheel is rotated.
Resized

Event when the GraphicsWindow is resized.