Jason Harris avatar Jason Harris committed 5d4457a

- Code tidy.

Comments (0)

Files changed (5)

Classes/LogEntryModel/LabelTextButtonCell.m

 	return NSMakeRect(0, -5, s.width + 15, 15);	
 }
 
-- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)aView
+- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView*)aView
 {
 	NSRect newRect = cellFrame;
 	newRect.origin.y -= 0.5;
 	[super drawInteriorWithFrame:cellFrame inView:aView];
 }
 
-- (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
+- (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView*)controlView
 {
 	cellFrame.origin.y -= 1;
 	[super drawInteriorWithFrame:cellFrame inView:controlView];

Classes/LogEntryModel/LogGraphCell.m

 	}
 }
 
-- (NSSize) cellSize {
+- (NSSize) cellSize
+{
     // NSSize cellSize = [super cellSize];
 	// DebugLog(@"naturalSize is %f,%f", cellSize.width, cellSize.height);
 	//    cellSize.width += (image ? [image size].width : 0) + 3;

Classes/PatchesModel/PatchesTableView.m

 }
 
 
-- (BOOL)tableView:(NSTableView *)aTableView shouldEditTableColumn:(NSTableColumn*)aTableColumn row:(NSInteger)rowIndex
+- (BOOL)tableView:(NSTableView*)aTableView shouldEditTableColumn:(NSTableColumn*)aTableColumn row:(NSInteger)rowIndex
 {
 	NSString* requestedColumn = [aTableColumn identifier];
 	if ([requestedColumn isEqualToString:@"patchName"])

Classes/UtilityClasses/TextButtonCell/TextButtonCell.h

 }
 
 - (void) setButtonTitle:(NSString*)title;
-- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)aView;
+- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView*)aView;
 - (BOOL)wantsToTrackMouse;
 
 @end

Classes/UtilityClasses/TextButtonCell/TextButtonCell.m

 
 
 
-- (BOOL)startTrackingAt:(NSPoint)startPoint inView:(NSView *)controlView
+- (BOOL)startTrackingAt:(NSPoint)startPoint inView:(NSView*)controlView
 {
 	doActionAfterTrack = YES;
 	return YES;
 }
 
-- (BOOL)continueTracking:(NSPoint)lastPoint at:(NSPoint)currentPoint inView:(NSView *)controlView
+- (BOOL)continueTracking:(NSPoint)lastPoint at:(NSPoint)currentPoint inView:(NSView*)controlView
 {
 	if (!NSPointInRect(currentPoint, currentCellFrame) && NSPointInRect(lastPoint, currentCellFrame))
 		[self highlight:NO withFrame:currentCellFrame inView:controlView];
 	return YES;
 }
 
-- (void)stopTracking:(NSPoint)lastPoint at:(NSPoint)stopPoint inView:(NSView *)controlView mouseIsUp:(BOOL)flag
+- (void)stopTracking:(NSPoint)lastPoint at:(NSPoint)stopPoint inView:(NSView*)controlView mouseIsUp:(BOOL)flag
 {
 	doActionAfterTrack = NSPointInRect(stopPoint, currentCellFrame) && flag;
 }
 	return YES;
 }
 
-- (BOOL)wantsToTrackMouseForEvent:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)controlView atCharacterIndex:(NSUInteger)charIndex
+- (BOOL)wantsToTrackMouseForEvent:(NSEvent*)theEvent inRect:(NSRect)cellFrame ofView:(NSView*)controlView atCharacterIndex:(NSUInteger)charIndex
 {
 	return YES;
 }
 
-- (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)aTextView atCharacterIndex:(NSUInteger)charIndex untilMouseUp:(BOOL)flag
+- (BOOL)trackMouse:(NSEvent*)theEvent inRect:(NSRect)cellFrame ofView:(NSView*)aTextView atCharacterIndex:(NSUInteger)charIndex untilMouseUp:(BOOL)flag
 {
 	currentCellFrame = cellFrame;
 	[self highlight:YES withFrame:cellFrame inView:aTextView];
 // MARK:  Drawing for NSTextAttachmentCell Protocol
 // -----------------------------------------------------------------------------------------------------------------------------------------
 
-- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)aView
+- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView*)aView
 {
 	[super drawWithFrame:cellFrame inView:aView];
 }
 
-- (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
+- (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView*)controlView
 {
 	cellFrame.origin.y -= 1;
 	[super drawInteriorWithFrame:cellFrame inView:controlView];
 }
 
-- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)aView characterIndex:(NSUInteger)charIndex
+- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView*)aView characterIndex:(NSUInteger)charIndex
 {
 	[self drawWithFrame:cellFrame inView:aView];
 }
 
-- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView characterIndex:(NSUInteger)charIndex layoutManager:(NSLayoutManager *)layoutManager
+- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView*)controlView characterIndex:(NSUInteger)charIndex layoutManager:(NSLayoutManager*)layoutManager
 {
 	[self drawWithFrame:cellFrame inView:controlView];
 }
 // MARK:  Parent Attachment
 // -----------------------------------------------------------------------------------------------------------------------------------------
 
-- (NSTextAttachment *)attachment	{ return parentAttacment; }
+- (NSTextAttachment*)attachment	{ return parentAttacment; }
 - (void)setAttachment:(NSTextAttachment*) anAttachment
 {
 	parentAttacment = anAttachment;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.