Revision: 13619
http://sourceforge.net/p/skim-app/code/13619
Author: hofman
Date: 2023-08-30 22:26:47 +0000 (Wed, 30 Aug 2023)
Log Message:
-----------
commit text note editing before removing,so undo will restore the edit
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2023-08-30 22:14:36 UTC (rev 13618)
+++ trunk/SKPDFView.m 2023-08-30 22:26:47 UTC (rev 13619)
@@ -2894,6 +2894,8 @@
}
- (void)removeAnnotation:(PDFAnnotation *)annotation {
+ if (annotation == currentAnnotation)
+ [self commitEditing];
[self beginNewUndoGroupIfNeeded];
PDFAnnotation *wasAnnotation = [annotation retain];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit