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.

View | Details | Raw Unified | Return to bug 223912
Collapse All | Expand All

(-)a/openide.text/src/org/openide/text/CloneableEditorSupport.java (-1 / +1 lines)
Lines 1135-1141 Link Here
1135
        }
1135
        }
1136
1136
1137
        Runnable beforeSaveRunnable = (Runnable) myDoc.getProperty("beforeSaveRunnable");
1137
        Runnable beforeSaveRunnable = (Runnable) myDoc.getProperty("beforeSaveRunnable");
1138
        if (beforeSaveRunnable != null) {
1138
        if (beforeSaveRunnable != null && !getUndoRedo().isInProgress()) {
1139
            // Create runnable that marks next edit fired from document as save actions.
1139
            // Create runnable that marks next edit fired from document as save actions.
1140
            // This assumes that before save tasks will run in a single atomic edit.
1140
            // This assumes that before save tasks will run in a single atomic edit.
1141
            // At the end of the edit an actual save task will be done.
1141
            // At the end of the edit an actual save task will be done.

Return to bug 223912