1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:57:45 +00:00

MacPDF: Tweak "#pragma mark" comments

This commit is contained in:
Nico Weber 2023-09-25 09:38:43 -04:00 committed by Andreas Kling
parent d2bda064da
commit 5af30b8f63

View file

@ -96,7 +96,7 @@ static NSBitmapImageRep* ns_from_gfx(NonnullRefPtr<Gfx::Bitmap> bitmap_p)
_delegate = delegate; _delegate = delegate;
} }
#pragma mark Drawing #pragma mark - Drawing
- (void)invalidateCachedBitmap - (void)invalidateCachedBitmap
{ {
@ -123,7 +123,7 @@ static NSBitmapImageRep* ns_from_gfx(NonnullRefPtr<Gfx::Bitmap> bitmap_p)
[_cachedBitmap drawInRect:self.bounds]; [_cachedBitmap drawInRect:self.bounds];
} }
#pragma mark Keyboard handling #pragma mark - Keyboard handling
- (BOOL)acceptsFirstResponder - (BOOL)acceptsFirstResponder
{ {
@ -150,7 +150,7 @@ static NSBitmapImageRep* ns_from_gfx(NonnullRefPtr<Gfx::Bitmap> bitmap_p)
[self goToPage:current_page + 1]; [self goToPage:current_page + 1];
} }
#pragma mark State restoration #pragma mark - State restoration
- (void)encodeRestorableStateWithCoder:(NSCoder*)coder - (void)encodeRestorableStateWithCoder:(NSCoder*)coder
{ {