Saving ruler markers to defaults
Saving ruler markers to defaults
- Subject: Saving ruler markers to defaults
- From: Jeremy Dronfield <email@hidden>
- Date: Fri, 16 Aug 2002 18:04:16 +0100
Can anyone tell me how to save the ruler markers in an NSTextView to
user defaults? I'm trying to use -rulerMarkersForTextView: but trawling
the docs has left me unenlightened as to how to fill all the arguments:
[prefs setObject:[myLayoutManager rulerMarkersForTextView:myTextView
paragraphStyle:???? ruler:????] forKey:@"Tabs"];
-Jeremy
=======================================
email@hidden // email@hidden
The Alchemy Pages:
- fractious fiction at
http://freespace.virgin.net/jeremy.dronfield
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.