File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
src/plugins/rv-packages/annotate Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -554,6 +554,19 @@ class: AnnotateMinorMode : MinorMode
554554 setStringProperty (redoName , string [] {}, true );
555555 }
556556
557+ let clearAllUndoProperty = undoClearAllFramesName ();
558+ let clearAllRedoProperty = redoClearAllFramesName ();
559+
560+ if (propertyExists (clearAllUndoProperty ))
561+ {
562+ setStringProperty (clearAllUndoProperty , string [] {}, true );
563+ }
564+
565+ if (propertyExists (clearAllRedoProperty ))
566+ {
567+ setStringProperty (clearAllRedoProperty , string [] {}, true );
568+ }
569+
557570 endCompoundStateChange ();
558571 return n ;
559572 }
@@ -673,6 +686,19 @@ class: AnnotateMinorMode : MinorMode
673686 setStringProperty (redoName , string [] {}, true );
674687 }
675688
689+ let clearAllUndoProperty = undoClearAllFramesName ();
690+ let clearAllRedoProperty = redoClearAllFramesName ();
691+
692+ if (propertyExists (clearAllUndoProperty ))
693+ {
694+ setStringProperty (clearAllUndoProperty , string [] {}, true );
695+ }
696+
697+ if (propertyExists (clearAllRedoProperty ))
698+ {
699+ setStringProperty (clearAllRedoProperty , string [] {}, true );
700+ }
701+
676702 endCompoundStateChange ();
677703 return n ;
678704 }
You can’t perform that action at this time.
0 commit comments