Revision: 3751
http://skim-app.svn.sourceforge.net/skim-app/?rev=3751&view=rev
Author: hofman
Date: 2008-04-18 04:05:10 -0700 (Fri, 18 Apr 2008)
Log Message:
-----------
Enable undo in note text view. Properly nest KVO notifications for changes of
note text, the system is far to picky.
Modified Paths:
--------------
trunk/Dutch.lproj/NoteWindow.nib/keyedobjects.nib
trunk/English.lproj/NoteWindow.nib/info.nib
trunk/English.lproj/NoteWindow.nib/keyedobjects.nib
trunk/French.lproj/NoteWindow.nib/keyedobjects.nib
trunk/German.lproj/NoteWindow.nib/keyedobjects.nib
trunk/Italian.lproj/NoteWindow.nib/keyedobjects.nib
trunk/SKNoteWindowController.m
trunk/SKPDFAnnotationNote.m
trunk/Spanish.lproj/NoteWindow.nib/keyedobjects.nib
trunk/cs.lproj/NoteWindow.nib/keyedobjects.nib
trunk/ru.lproj/NoteWindow.nib/keyedobjects.nib
Modified: trunk/Dutch.lproj/NoteWindow.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/English.lproj/NoteWindow.nib/info.nib
===================================================================
--- trunk/English.lproj/NoteWindow.nib/info.nib 2008-04-18 10:09:16 UTC (rev
3750)
+++ trunk/English.lproj/NoteWindow.nib/info.nib 2008-04-18 11:05:10 UTC (rev
3751)
@@ -13,8 +13,8 @@
<string>489.0</string>
<key>IBOpenObjects</key>
<array>
+ <integer>7</integer>
<integer>114</integer>
- <integer>7</integer>
</array>
<key>IBSystem Version</key>
<string>9C7010</string>
Modified: trunk/English.lproj/NoteWindow.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/French.lproj/NoteWindow.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/German.lproj/NoteWindow.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/Italian.lproj/NoteWindow.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/SKNoteWindowController.m
===================================================================
--- trunk/SKNoteWindowController.m 2008-04-18 10:09:16 UTC (rev 3750)
+++ trunk/SKNoteWindowController.m 2008-04-18 11:05:10 UTC (rev 3751)
@@ -76,6 +76,7 @@
[[NSNotificationCenter defaultCenter] removeObserver:self];
CFRelease(editors);
[note release];
+ [textViewUndoManager release];
[super dealloc];
}
Modified: trunk/SKPDFAnnotationNote.m
===================================================================
--- trunk/SKPDFAnnotationNote.m 2008-04-18 10:09:16 UTC (rev 3750)
+++ trunk/SKPDFAnnotationNote.m 2008-04-18 11:05:10 UTC (rev 3751)
@@ -217,8 +217,8 @@
- (void)textStorageDidProcessEditing:(NSNotification *)notification;
{
+ [texts makeObjectsPerformSelector:@selector(willChangeValueForKey:)
withObject:SKPDFAnnotationTextKey];
[self willChangeValueForKey:SKPDFAnnotationTextKey];
- [texts makeObjectsPerformSelector:@selector(willChangeValueForKey:)
withObject:SKPDFAnnotationTextKey];
[text release];
text = [[NSAttributedString allocWithZone:[self zone]]
initWithAttributedString:textStorage];
[self didChangeValueForKey:SKPDFAnnotationTextKey];
Modified: trunk/Spanish.lproj/NoteWindow.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/cs.lproj/NoteWindow.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/ru.lproj/NoteWindow.nib/keyedobjects.nib
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit