This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
}
Runnable beforeSaveRunnable = (Runnable) myDoc.getProperty("beforeSaveRunnable");
if (beforeSaveRunnable != null) {
if (beforeSaveRunnable != null && !getUndoRedo().isInProgress()) {
// Create runnable that marks next edit fired from document as save actions.
// This assumes that before save tasks will run in a single atomic edit.
// At the end of the edit an actual save task will be done.