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 @@ -553,6 +553,19 @@ class: AnnotateMinorMode : MinorMode
553553 setStringProperty (redoName , string [] {}, true );
554554 }
555555
556+ let clearAllUndoProperty = undoClearAllFramesName ();
557+ let clearAllRedoProperty = redoClearAllFramesName ();
558+
559+ if (propertyExists (clearAllUndoProperty ))
560+ {
561+ setStringProperty (clearAllUndoProperty , string [] {}, true );
562+ }
563+
564+ if (propertyExists (clearAllRedoProperty ))
565+ {
566+ setStringProperty (clearAllRedoProperty , string [] {}, true );
567+ }
568+
556569 endCompoundStateChange ();
557570 return n ;
558571 }
@@ -672,6 +685,19 @@ class: AnnotateMinorMode : MinorMode
672685 setStringProperty (redoName , string [] {}, true );
673686 }
674687
688+ let clearAllUndoProperty = undoClearAllFramesName ();
689+ let clearAllRedoProperty = redoClearAllFramesName ();
690+
691+ if (propertyExists (clearAllUndoProperty ))
692+ {
693+ setStringProperty (clearAllUndoProperty , string [] {}, true );
694+ }
695+
696+ if (propertyExists (clearAllRedoProperty ))
697+ {
698+ setStringProperty (clearAllRedoProperty , string [] {}, true );
699+ }
700+
675701 endCompoundStateChange ();
676702 return n ;
677703 }
You can’t perform that action at this time.
0 commit comments