スーパーPreのハイライト
@interface MyClass : NSObject <NSObject, NSCoding> { NSString *value; NSString *value2; NSString *value3; NSString *value4; NSString *value5; } @property(copy, readwrite) NSString *value; // @property\s*([\s\w,]*)までハイライト? @property(retain, readonly) NSString *value2; // @property\s*([\s\w,]*)までハイライト? @property(assign, nonatomic) NSString *value3; // @property\s*([\s\w,]*)までハイライト? @property(getter=getterName, setter=setterName) NSString *value4; // これは… @property(copy, readwrite, nonatomic, getter=getterName2, setter=setterName2) NSString *value5; //最長 @end @implementation MyClass @synthesize value; // @synthesizeはハイライト @dynamic value2; // @dynamicはハイライト @end @protocol MyProtocol - (void)requiredMethod; @optional // @optionalはハイライト - (void)anOptionalMethod; - (void)anotherOptionalMethod; @required // @requiredはハイライト - (void)anotherRequiredMethod; @end
これぐらい?