Fix NSTextView model trans

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7246 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2000-08-25 14:26:01 +00:00
parent 2a670138e5
commit 7da60fcdb8

View file

@ -1623,7 +1623,8 @@ void __dummy_GMAppKit_functionForLinking() {}
// Currently the text container is not encoded
[archiver encodeSize:[self textContainerInset] withName:@"textContainerInset"];
[archiver encodeBOOL:[self allowsUndo] withName:@"allowsUndo"];
if ([self respondsToSelector: @selector(allowsUndo)])
[archiver encodeBOOL:[self allowsUndo] withName:@"allowsUndo"];
[archiver encodeBOOL:[self usesRuler] withName:@"usesRuler"];
[archiver encodeBOOL:[self isRulerVisible] withName:@"isRulerVisible"];
[archiver encodeObject:[self insertionPointColor] withName:@"insertionPointColor"];