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